hugo-xmin/layouts/_default/terms.html
2018-04-25 17:33:00 +08:00

17 lines
302 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" . }}