hugo-xmin/layouts/_default/terms.html
2017-06-15 23:06:16 -05:00

17 lines
304 B
HTML

{{ 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" . }}