mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2024-11-21 15:56:29 -05:00
14 lines
385 B
HTML
14 lines
385 B
HTML
{{ define "main"}}
|
|
<div>
|
|
{{ range $index, $value := .Pages.GroupByDate .Site.Params.listPageDateFormat }}
|
|
{{ 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 }}
|
|
|