mirror of
https://github.com/yihui/hugo-xmin.git
synced 2024-11-23 08:59:19 +02:00
Set terms to use list template (delete terms template)
This commit is contained in:
parent
71dc0c38d2
commit
bd9990e697
|
@ -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" . }}
|
|
Loading…
Reference in New Issue