planblog/layouts/_default/terms.html
Keichi Takahashi f76f6f9526 Initial commit
2015-02-03 15:21:35 +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" . }}