Skip to main content

Category

Landing page of a category, including navigation to subcategories and documents relating to a single category of the site's taxonomy.

Route name

document_category

URL pattern

/{categorySlug}

Layout

Modular

Module

Publishing

Page class

category-modular

Acceptance criteria

  • Category specific stylesheet is used
  • Page does not error if no homepage is assigned
  • Page errors if an invalid category ID is passed - 404 response
  • Page errors if no documents, no subcategories or no homepage assigned - 404 response
  • Breadcrumb includes category path
  • Modular homepage widget block is rendered as in CMS
  • Approved version is shown
  • List of documents assigned to category shown
  • Homepage specific metadata is not used
  • Modular content only rendered if homepage assigned
  • Page supplements are shown
  • HTML content is rendered unencoded