mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2024-11-24 09:06:30 -05:00
15 lines
369 B
HTML
15 lines
369 B
HTML
|
{{ 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 }}
|
||
|
|