diff options
Diffstat (limited to 'layouts/partials/tags.html')
-rw-r--r-- | layouts/partials/tags.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/layouts/partials/tags.html b/layouts/partials/tags.html new file mode 100644 index 0000000..5650056 --- /dev/null +++ b/layouts/partials/tags.html @@ -0,0 +1,10 @@ +{{ $taxonomy := "tags" }} +{{ with .Param $taxonomy }} +{{ range $index, $tag := . }} +{{ with $.Site.GetPage (printf "/%s/%s" $taxonomy $tag) -}} +<li> + <a href="{{ .Permalink }}">{{ $tag | urlize }}</a> +</li> +{{- end -}} +{{- end -}} +{{ end }}
\ No newline at end of file |