{{ define "main" }} {{/* Compositions and blog posts have separate tag vocabularies, so a term page lists whichever kind of page the taxonomy belongs to, with that section's own card. */}} {{ $isBlog := eq .Data.Plural "blog_tags" }} {{ partial "bookshop" (slice "page-heading" (dict "title" (printf (T (cond $isBlog "tag_page_title_blog" "tag_page_title_compositions")) .Title) "description" (printf (T (cond $isBlog "tag_page_description_blog" "tag_page_description_compositions")) .Title))) }}