p.d-legal/themes/hugo-book/layouts/taxonomy/list.html

14 lines
362 B
HTML
Raw Normal View History

2024-02-26 08:25:11 +00:00
{{ 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 }}