aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/_default/terms.html
blob: 42d5541cc2cd6d0c36274ef464e9494ec57595a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{{ define "main" }}
<div id="content" class="bg-near-white pa2 pt5">
    <section class="mw7 center">
        {{ range .Data.Terms.ByCount }}
        <h4 class="f4">
            <a href="{{ .Name }}" class="dark-gray underline-hover">
                {{ .Name }} ({{ .Pages | len }})
            </a>
        </h4>

        <ul class="bb b--black-50 pb2">
            {{ range .Pages.ByDate.Reverse }}
            <li class="black-50"><a href="{{ .Permalink }}" class="f4 dark-gray underline-hover">{{.Title}}</a> - {{ .Date.Format "Jan 2, 2006" }}</li>
            {{ end}}
        </ul>
        {{ end }}
    </section>
</div>
{{ end }}