hugo-theme-minima/layouts/_default/list.html
2022-11-07 16:57:21 +08:00

14 lines
No EOL
319 B
HTML

{{ define "main" }}
<main class="container">
{{ 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" . }}
{{ end }}
</div>
</main>
{{ end }}