blob: d4535806732fb7d50a0b6d325d1fcee74398ad6b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{{ partial "top.html" . }}
<article class="posts">
{{ range (where .Data.Pages "Type" "post").GroupByDate "2006" -}}
<section>
<h2>{{ .Key }}</h2>
<ol>
{{ range .Pages -}}
<li>
<time datetime="{{ .Date.Format "2006-01-02 15:04:05 MST" }}">{{ .Date.Format "Jan 02"}}</time>
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
</li>
{{- end }}
</ol>
</section>
{{ end }}
</article>
{{ partial "bottom.html" . }}
|