diff options
Diffstat (limited to 'layouts/_default/terms.html')
-rw-r--r-- | layouts/_default/terms.html | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html index 09b3785..1b515a5 100644 --- a/layouts/_default/terms.html +++ b/layouts/_default/terms.html @@ -3,12 +3,9 @@ <h1>{{ .Title }}</h1> <ul class="terms"> - {{ range $key, $value := .Data.Terms }} + {{ range .Data.Terms }} <li> - <a href="{{ (print "/" $.Data.Plural "/" $key | urlize) | relURL }}"> - {{ $key }} - </a> - ({{ len $value }}) + <a href="{{ .Page.Permalink }}">{{ .Page.Title }}</a> ({{ .Count }}) </li> {{ end }} </ul> |