hugo-theme-minima/layouts/_default/list.html

14 lines
319 B
HTML
Raw Normal View History

2021-07-18 10:34:01 +02:00
{{ define "main" }}
<main class="container">
2021-09-09 09:56:22 +02:00
{{ if isset .Data "Term" }}
<h2 class="my-8">{{ .Data.Singular | title }} - "{{ .Data.Term }}"</h2>
{{ else }}
<h2 class="my-8">{{ .Title }}</h2>
{{ end }}
<div class="mt-8">
{{ range .Data.Pages }}
{{ partial "list.html" . }}
2021-07-18 10:34:01 +02:00
{{ end }}
2021-09-09 09:56:22 +02:00
</div>
</main>
2021-07-18 10:34:01 +02:00
{{ end }}