Use GetTerms for taxonomy terms.

This commit is contained in:
Fredrik Jonsson 2022-01-20 15:29:30 +01:00
commit ce6e10f7a9

View file

@ -1,8 +1,8 @@
<div class="tags">
{{ i18n "taxo_tags" }}:
<ul>
{{ range .Params.tags -}}
<li><a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a></li>
{{ range (.GetTerms "tags") -}}
<li><a href="{{ .Permalink }}">{{ .LinkTitle }}</a></li>
{{ end -}}
</ul>
</div>