Add: tags partial template

This commit is contained in:
Aroy-Art 2022-02-25 11:09:22 +01:00
parent 952ae8c6cb
commit 9311d79df1
Signed by: Aroy
GPG key ID: DB9689E9391DD156

View file

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