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

9 lines
232 B
HTML
Raw Normal View History

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