{{/* taxcloud-sidebar.html — compact taxonomy cloud for the sidebar. Call with a dict: {{ partial "widgets/taxcloud-sidebar.html" (dict "Site" .Site "taxPlural" "tags" "pillClass" "tag" "label" "Tags" "limit" 30) }} taxPlural — Hugo taxonomy plural key (e.g. "tags", "palace_rooms") pillClass — CSS pill modifier (tag, room, char, phase, type) label — display heading limit — max terms shown (sorted by count, desc) */}} {{ $taxPlural := .taxPlural | default "tags" }} {{ $pillClass := .pillClass | default "tag" }} {{ $label := .label | default "Tags" }} {{ $limit := .limit | default 30 }} {{ $site := .Site }} {{ $terms := index $site.Taxonomies $taxPlural }} {{ if $terms }} {{ $byCount := $terms.ByCount }} {{ end }}