monkeychef/layouts/_default/terms.html

17 lines
302 B
HTML

{{ partial "header.html" . }}
<main id="main">
<h1>{{ .Title }}</h1>
<ul>
{{ range $key, $value := .Data.Terms }}
<li>
<a href="{{ (print "/" $.Data.Plural "/" $key) | relURL }}">
{{ $key }}
</a>
({{ len $value }})
</li>
{{ end }}
</ul>
</main>
{{ partial "footer.html" . }}