Files
fundor333.com/layouts/taxonomy.html
fundor333 97abf77fb9 Moves taxonomy templates to root
Moves taxonomy and term templates from the `_default`
directory to the root `layouts` directory. This allows for
more specific customization of these templates without
requiring them to be placed within the `_default` folder.
2025-09-14 02:48:23 +02:00

24 lines
489 B
HTML

{{- define "main" -}}
{{ $taxonomyObject := .Data.Terms }}
<div class="wrapper list-page">
<header class="header">
<h1 class="header-title center">{{ .Title }}</h1>
</header>
<main class="page-content" aria-label="Content">
{{ range $taxonomyObject.Alphabetical }}
<h2 class="post-year"><a href="{{ .Page.RelPermalink }}">{{ .Page.LinkTitle }}</a></h2>
{{ range .Pages }}
{{ partial "postCard" . }}
{{ end }}
{{ end }}
</main>
</div>
{{- end -}}