mirror of
https://github.com/yihui/hugo-xmin.git
synced 2024-12-28 07:43:33 +02:00
Set terms to use list template (delete terms template)
This commit is contained in:
parent
71dc0c38d2
commit
bd9990e697
1 changed files with 0 additions and 16 deletions
|
@ -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 a new issue