1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
{{ partial "header.html" . }} <h1>{{ .Title }}</h1> <ul class="terms"> {{ range $key, $value := .Data.Terms }} <li> <a href="{{ (print "/" $.Data.Plural "/" $key) | relURL }}"> {{ $key }} </a> ({{ len $value }}) </li> {{ end }} </ul> {{ partial "footer.html" . }}