planblog/layouts/_default/terms.html
2015-06-16 13:21:03 +09:00

14 lines
367 B
HTML

{{ partial "header.html" . }}
{{ $baseurl := .Site.BaseURL}}
<section class="taxonomy-terms">
<h1>{{ .Title }}</h1>
<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" . }}