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

terms.html « _default « layouts - github.com/vaga/hugo-theme-m10c.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 86519b671b3602c969303e098c5be31398403e58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{{ define "main" }}
  <article>
    <h1>{{ .Title }}</h1>
    <ul class="tags-list">
      {{ range .Data.Terms.ByCount }}
        <li class="tags-list-item">
            {{ partial "icon.html" (dict "ctx" $ "name" "tag") }}
            <a class="tags-list-item-title" href="{{ .Page.Permalink }}">
              ({{ .Count }})
              {{ .Page.Title }}
            </a>
        </li>
      {{ end }}
    </ul>
  </article>
{{ end }}