website-theme/layouts/_default/list.html

15 lines
369 B
HTML
Raw Normal View History

2018-09-23 11:11:35 +00:00
{{ define "main"}}
<div>
{{ range $index, $value := .Pages.GroupByDate "January, 2006" }}
{{ if (ne $index 0) }}
<hr class="separator">
{{ end }}
<p class="date">{{ .Key }}</p>
{{ range .Pages }}
<p><a href="{{ .Permalink }}">{{ .Title }}</a></p>
{{ end }}
{{ end }}
</div>
{{ end }}