Terms should be on one line

This commit is contained in:
Frank "PHiAX" Weggelaar 2026-01-26 19:44:08 +01:00
parent 8c634edf6e
commit d05bbd29e1

View file

@ -12,7 +12,9 @@ For a given taxonomy, renders a list of terms assigned to the page.
{{- with $page.GetTerms $taxonomy }}
{{- $label := (index . 0).Parent.LinkTitle }}
<div class="article-end-ribbon">Tags:
{{- range . }}
<div class="article-end-ribbon">Tags: <a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></div>
<a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
{{- end }}
</div>
{{- end }}