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">
|
|
|
|
{{ range .Data.Pages }}
|
|
|
|
{{ partial "item.html" . }}
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
2021-09-09 09:56:22 +02:00
|
|
|
</main>
|
2021-07-18 10:34:01 +02:00
|
|
|
{{ end }}
|