about summary refs log tree commit diff stats
path: root/layouts/_default/terms.html
blob: 47a9c0ab742978f9afb06d0cd560431a8ea4ea7f (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 "/" ($key | urlize)) | relURL }}">
      {{ $key }}
    </a>
    ({{ len $value }})
  </li>
  {{ end }}
</ul>

{{ partial "footer.html" . }}