webpage/themes/hugo-book/layouts/taxonomy/list.html
kekskurse 27e6a14105 init
2024-11-26 23:25:09 +01:00

13 lines
362 B
HTML

{{ define "main" }}
<article class="markdown book-post">
<h1>{{ .Title | title }}</h1>
{{ $taxonomies := index .Site.Taxonomies .Page.Type }}
{{ range $taxonomies }}
<div><a href="{{ .Page.Permalink }}">{{ .Page.Title }} <sup>{{ .Count }}</sup></a></div>
{{ end }}
</article>
{{ end }}
{{ define "toc" }}
{{ partial "docs/taxonomy" . }}
{{ end }}