blob: 7b5a5409051aceb3f5e80f426c94fbc35dc3603d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
{{ define "main" }}
<div id="content" class="bg-near-white pa2 pt5">
{{ range (where .Site.RegularPages "Section" "post").GroupByDate "2006" }}
<section class="f4 bb b--black-40 mw7 center">
<h4 class="">{{ .Key }}</h4>
{{ range .Pages.GroupByDate "January" }}
<ul class="list mv1">
<li class="b">{{ .Key }}</li>
<ul class="pv2">
{{ range .Pages }}
<li class="black-50"><a href="{{ .Permalink }}" class="f4 dark-gray underline-hover">{{.Title}}</a> - {{ .Date.Format "Jan 2" }}</li>
{{ end}}
</ul>
</ul>
{{ end}}
</section>
{{ end }}
</div>
{{ end }}
|