peruna/layouts/_default/terms.html

13 lines
360 B
HTML
Raw Permalink Normal View History

2018-04-03 09:51:11 +00:00
{{ partial "header.html" . }}
{{ $baseurl := .Site.BaseURL | sanitizeurl }}
<section>
<h2>{{ .Title }}</h2>
<ul>
{{ $data := .Data }}
{{ range $key, $value := .Data.Terms }}
<li><a href="{{ $baseurl }}/{{ $data.Plural }}/{{ $key | urlize }}">{{ $key }}</a> ({{ len $value }})</li>
{{ end }}
</ul>
</section>
{{ partial "footer.html" . }}