forked from Freifunk-Leipzig/landingpage
15 lines
425 B
HTML
15 lines
425 B
HTML
{{/* Code thanks to Jake Wiesler, https://www.jakewiesler.com/blog/hugo-taxonomies/ */}}
|
|
{{ $taxonomy := "tags" }}
|
|
{{ with .Param $taxonomy }}
|
|
<hr />
|
|
<h3>{{ $taxonomy }}</h3>
|
|
<ul>
|
|
{{ range $index, $tag := . }}
|
|
{{ with $.Site.GetPage (printf "/%s/%s" $taxonomy $tag) -}}
|
|
<li>
|
|
<a href="{{ .Permalink }}">{{ $tag | urlize }}</a>
|
|
</li>
|
|
{{- end -}}
|
|
{{- end -}}
|
|
</ul>
|
|
{{ end }} |