yrzam-hugo-theme/layouts/partials/taxo_of_single.html
2024-06-08 22:47:06 +04:00

13 lines
338 B
HTML

{{- range $taxonomy, $_ := .Site.Taxonomies -}}
{{- if $.GetTerms $taxonomy -}}
<nav class="taxo-list">
{{- with $.GetTerms $taxonomy -}}
{{- range . -}}
<a class="button" href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
{{- end -}}
{{- end -}}
</nav>
{{- end -}}
{{- end -}}
{{- /**/ -}}