planblog/layouts/_default/terms.html

14 lines
367 B
HTML
Raw Normal View History

2015-02-02 09:54:20 +00:00
{{ partial "header.html" . }}
{{ $baseurl := .Site.BaseURL}}
2015-02-02 09:54:20 +00:00
<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" . }}