holy/layouts/index.html

17 lines
568 B
HTML

{{ define "main" }}
<div>
{{ .Content }}
<ul class="">
{{- range where site.RegularPages "Type" "in" site.Params.mainSections }}
<li>
<div class="my: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 }}
</ul>
</div>
{{ end }}