aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/_default/archive.terms.html
blob: 0233daae2950ecd0146eef5ed16959bd29c5dbdf (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">
    {{ 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 }}