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

terms.html « _default « layouts - github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9a9a796052d059ed033ca26dbc290bb24dd7e2e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{{ define "main" }}
    <div class="container">
        <article>
            {{ .Content }}
        </article>
        <div class="section tags-list">
            {{ range $name, $taxonomy := .Site.Taxonomies.tags }}
            <a class="tag-cloud" href="{{"tags/" | relLangURL }}{{ $name | urlize }}">{{ lower $name }}&nbsp;({{ len $taxonomy }})</a>
            {{ end }}
        </div>
    </div>
{{ end }}