commit 4c044e866f4de34643ec75a1a372b3def0d413c5 parent 1d6218a33bc9aa17af42f4c82eb4521403bb297c Author: oscarbenedito <oscar@obenedito.org> Date: Mon, 23 Sep 2019 22:50:48 +0200 Tags sorted Diffstat:
M | layouts/_default/single.html | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/layouts/_default/single.html b/layouts/_default/single.html @@ -14,7 +14,7 @@ {{ if .Params.tags }} <footer> <ul class="post-tags"> - {{ range .Params.tags }}<li><a href="{{ "blog/tags/" | relURL }}{{ . | urlize }}">{{ . }}</a></li>{{ end }} + {{ range .Params.tags | sort }}<li><a href="{{ "blog/tags/" | relURL }}{{ . | urlize }}">{{ . }}</a></li>{{ end }} </ul> </footer> {{ end }}