about summary refs log tree commit diff
path: root/layouts/_default/terms.html
blob: d4e745edf2a4e8f6d625242d4b04a1a4af6687cb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{{ define "main" }}
    <div class="index-content">
        {{ .Content }}
    </div>

    <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 }}