about summary refs log tree commit diff
path: root/layouts/_default/terms.html
blob: 81f400c83f84c804a8c9a14f68c67a99f68ae204 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{{ define "main" }}
    <h1>{{ i18n .Title }}</h1>

    <ul class="terms">
        {{ range $key, $value := .Data.Terms }}
        <li>
            <a href="{{ (print $.Data.Plural "/" (lower $key)) | absLangURL }}">
            {{ $key }}
            </a>
            ({{ len $value }})
        </li>
        {{ end }}
    </ul>

{{ end }}