{{ define "main" }} {{ partial "categories/hero-term.html" . }}
{{ partial "toc/container.html" (dict "toc" "toc/default.html" "context" . ) }} {{ partial "categories/summary.html" (dict "context" . "block_wrapped" true ) }} {{ partial "contents/list.html" . }}
{{ if .Params.is_taxonomy }} {{ partial "taxonomies/categories" . }} {{ else }} {{ $section_type := strings.TrimSuffix "_categories" .Type }} {{ $list_partial := printf "%s/%s.html" $section_type $section_type }} {{ partial $list_partial . }} {{ partial "commons/pagination.html" . }} {{ end }}
{{ end }}