holy/layouts/index.html

16 lines
369 B
HTML

{{ define "main" }}
<div class="d:flex flex:col">
{{- partial "prose.html" . -}}
<h2 class="my:1em">Post</h2>
{{- range where site.RegularPages "Type" "in" site.Params.mainSections -}}
{{- partial "li.html" ( dict
"url" .Permalink
"title" .Title
"subTitle" (.Date | time.Format (":date_medium"))
) -}}
{{- end -}}
</div>
{{ end }}