{{ define "main" }} {{ if .Params.is_taxonomy }} {{ partial "categories/section.html" . }} {{ else }} {{ partial "categories/single.html" . }} {{ end }} {{ end }}