Something went wrong. Try again.
The code behind dhawos.dev dhawos.dev
Something went wrong. Try again.
1234567891011121314151617181920212223{{ define "main" }} <div class="terms"> <h1>{{ .Title }}</h1> {{ with .Content }} <div class="index-content"> {{ . }} </div> {{ end }} <ul> {{ $type := .Type }} {{ range $key, $value := .Data.Terms.ByCount }} {{ $name := .Name }} {{ $count := .Count }} {{ with $.Site.GetPage (printf "/%s/%s" $type $name) }} <li> <a class="terms-title" href="{{ .Permalink }}">{{ .Page.LinkTitle }} [{{ $count }}]</a> </li> {{ end }} {{ end }} </ul> </div>{{ end }}