holy/layouts/index.html

13 lines
355 B
HTML
Raw Normal View History

2022-04-04 16:20:04 +00:00
{{ define "main" }}
2022-05-09 10:41:08 +00:00
<div class="d:flex flex:col">
{{- partial "prose.html" . -}}
2022-11-27 01:49:24 +00:00
<h2 class="my:1em">Posts</h2>
2022-05-09 10:41:08 +00:00
{{- range where site.RegularPages "Type" "in" site.Params.mainSections -}}
{{- partial "li.html" ( dict "url" .Permalink "title" .Title "subTitle" (.Date | time.Format (":date_medium")) ) -}}
2022-05-09 10:41:08 +00:00
{{- end -}}
</div>
2022-11-27 01:49:24 +00:00
{{ end }}