{{- /* Override of PaperMod's terms.html: replaces the double-nested N count with a plain so the pill styling from archives applies. */ -}} {{- define "main" }} {{- if .Title }} {{ .Title }} {{- if .Description }} {{ .Description }} {{- end }} {{- end }} {{- $type := .Type }} {{- range $key, $value := .Data.Terms.Alphabetical }} {{- $name := .Name }} {{- $count := .Count }} {{- with site.GetPage (printf "/%s/%s" $type $name) }} {{ .Name }}{{ $count }} {{- end }} {{- end }} {{- end }}{{/* end main */ -}}