14 lines
No EOL
368 B
HTML
14 lines
No EOL
368 B
HTML
{{ define "main" }}
|
|
<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>
|
|
</main>
|
|
{{ end }} |