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

17 lines
431 B
HTML
Raw Normal View History

2021-07-18 10:34:01 +02:00
{{ define "main" }}
<main>
{{ if isset .Data "Term" }}
<h2>{{ .Data.Singular | title }} - "{{ .Data.Term }}"</h2>
{{ else }}
{{ end }}
<div>
{{ range .Data.Pages }}
2021-08-29 17:55:45 +02:00
<div class="flex sm:flex-col my-5 sm:mb-6 sm:mt-3">
<div class="min-w-32 sm:mb-2">{{ dateFormat .Site.Params.timeformat .Date }}</div>
2021-07-18 10:34:01 +02:00
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
</div>
{{ end }}
</div>
</main>
{{ end }}