1
Files
2025/themes/2026/layouts/_partials/terms.html
2026-02-21 01:50:39 +01:00

15 lines
330 B
HTML

{{- $page := .page -}}
{{- $taxonomy := .taxonomy -}}
{{- with $page.GetTerms $taxonomy -}}
{{- $label := (index . 0).Parent.LinkTitle -}}
<section>
<h3>{{ $label }}</h3>
<ul>
{{- range . -}}
<li><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li>
{{- end -}}
</ul>
</section>
{{- end -}}