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

terms.html « _default « layouts - github.com/gkmngrgn/hugo-alageek-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a23f22b701a63081505d08614635f2b81447d254 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{{ define "main" }}
    {{ partial "header" . }}

    <div class="content">
        <div class="container">
            <div class="row justify-content-center">
                <div class="col-md-12 col-lg-10">
                    <div class="markdown">
                        <h1 class="mx-0 mx-md-4">
                            {{ if eq .Title "Tags" }}
                                {{ i18n "title_tags" . }}
                            {{ else }}
                                {{ .Title }}
                            {{ end }}
                        </h1>

                        <p class="h4">
                            {{ $data := .Data }}
                            {{ range $key, $value := .Data.Terms.Alphabetical }}
                                <a href="{{ $value.Name | urlize }}" class="badge badge-light text-monospace">
                                    {{ $value.Name }}
                                    <span class="badge badge-secondary">{{ $value.WeightedPages.Count }}</span>
                                </a>
                            {{ end }}
                        </p>
                    </div>
                </div>
            </div>
        </div>
    </div>

    {{ partial "footer" . }}
{{ end }}