Set terms to use list template (delete terms template)

This commit is contained in:
Zhang Liang 2018-03-10 22:51:12 +08:00
parent 71dc0c38d2
commit bd9990e697

View file

@ -1,16 +0,0 @@
{{ 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" . }}