2021-07-18 10:34:01 +02:00
|
|
|
{{ define "main" }}
|
2022-11-08 11:07:48 +01:00
|
|
|
<main class="container mx-auto">
|
|
|
|
{{ if isset .Data "Term" }}
|
|
|
|
<h2 class="text-4xl mt-8 mb-8">{{ .Data.Singular | title }} - "{{ .Data.Term }}"</h2>
|
|
|
|
{{ else }}
|
|
|
|
<h2 class="text-4xl mt-8 mb-8">{{ .Title }}</h2>
|
|
|
|
{{ end }}
|
|
|
|
<div class="mt-8">
|
2023-03-15 13:51:12 +01:00
|
|
|
{{ range .Data.Pages.GroupByDate "2006" }}
|
|
|
|
<h3 class="text-3xl font-bold mb-4 mt-8">
|
|
|
|
<a href="#{{ .Key }}">{{ .Key }}</a>
|
|
|
|
</h3>
|
|
|
|
{{ range .Pages }}
|
|
|
|
{{ partial "item.html" . }}
|
|
|
|
{{ end }}
|
2022-11-08 11:07:48 +01:00
|
|
|
{{ end }}
|
|
|
|
</div>
|
2021-09-09 09:56:22 +02:00
|
|
|
</main>
|
2023-03-15 13:51:12 +01:00
|
|
|
{{ end }}
|