about summary refs log tree commit diff stats
path: root/layouts/_default/terms.html
blob: 09b3785be270273fbb1abbed7cf622567520b0ea (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" . }}