summaryrefslogtreecommitdiff
path: root/themes/hugo-classic/layouts/_default/terms.html
blob: 4f6f5446911cf87d90801175fd5abd294e045c89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{{ partial "header.html" . }}

<h1>{{ .Title }}</h1>

<ul class="terms">
  {{ range $key, $value := .Data.Terms }}
  <li>
    <a href="{{ (print "/" $.Data.Plural "/" (lower $key)) | relURL }}">
      {{ $key }}
    </a>
    ({{ len $value }})
  </li>
  {{ end }}
</ul>

{{ partial "footer.html" . }}