yequari.com/themes/dreamcast/layouts/partials/categories.html

8 lines
224 B
HTML
Raw Permalink Normal View History

{{ $taxonomy := "categories" }}
{{ with .GetTerms $taxonomy }}
{{ range $k, $_ := . -}}
{{ if $k }}, {{ end }}
<a class="category" href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
{{- end }}
{{ end }}