Add: get_tags partial

This commit is contained in:
Aroy-Art 2022-02-02 10:03:41 +01:00
parent 0c2856fefd
commit d97dd3c235
Signed by: Aroy
GPG key ID: DB9689E9391DD156

View file

@ -0,0 +1,9 @@
{{ with .Param "tags" }}
<div class="tagContainer">
{{ range $index, $tag := (. | sort) }}
{{ with $.Site.GetPage (printf "/%s/%s" "tags" $tag) }}
<a class="tags" href="{{ .Permalink }}">#{{ $tag | urlize }}</a>
{{ end }}
{{ end }}
</div>
{{ end }}