holy/layouts/_default/list.html

25 lines
817 B
HTML
Raw Permalink Normal View History

2022-04-11 20:09:26 +00:00
{{ define "main" }}
2022-04-12 19:01:56 +00:00
<div>
<article class="box:border-box pt:32 w:full">
2022-04-12 19:01:56 +00:00
<header class="mb:32">
<div class="font:40 font:extrabold">{{ .Title }}</div>
</header>
{{- partial "prose.html" . -}}
</article>
<ul>
{{- range where site.RegularPages "Type" "in" site.Params.mainSections }}
2024-04-13 10:31:46 +00:00
{{- if not .Params.hidden }}
<li>
<div class="mb:16 py:24 f:fade-30 f:fade-10:hover transition:150ms;ease-in">
<a class="f:24 font:semibold" href="{{ .Permalink }}">
<div>{{ .Title }}</div>
</a>
<div class="mt:12 f:fade-70"><time>{{ .Date | time.Format (":date_medium") }}</time></div>
</div>
</li>
{{- end }}
2022-04-12 19:01:56 +00:00
{{- end }}
</ul>
</div>
2024-04-13 10:31:46 +00:00
{{ end }}