simpletheme/layouts/partials/categories.html
J S 7c892580b5 feat[taxonomy] Added tags and categories
Added template files for tags and categories.
Updated css themes to something crappy.
2023-10-15 22:00:24 -04:00

12 lines
279 B
HTML

{{ $taxonomy := "categories" }}
{{ with .GetTerms $taxonomy }}
<p class="taglist">
{{ (site.GetPage $taxonomy).LinkTitle }}:
{{ range $k, $_ := . -}}
{{ if $k }}, {{ end }}
<a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
{{- end }}
</p>
{{ end }}