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

8 lines
224 B
HTML

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