Welcome to mirror list, hosted at ThFree Co, Russian Federation.

terms.html « _default « layouts - github.com/4ever9/less.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a38132bcd15742f5b1bc59d6e2954c13c85a8465 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{{ define "main" }}
    {{ $type := .Type }}
    <div class="container">
        <div class="main terms">
            <h2>Total {{ len .Data.Terms }} {{ .Type }}</h2>
            <div class="row">
                {{ range $k, $v := .Data.Terms.ByCount }}
                    <li class="column is-lg-6">
                        <a href="{{ .Page.Permalink }}">
                            {{ .Name }} <span>({{ .Count }})</span>
                        </a>
                    </li>
                {{ end }}
            </div>
        </div>
    </div>
{{ end }}