{{ define "title" }}{{ T .Data.Plural }} - {{ .Site.Title }}{{ end }} {{ define "content" }} {{ $name := .Data.Plural -}} {{ $terms := .Data.Terms.ByCount -}} {{ $length := len $terms -}} {{ if eq $name "categories" }}