Skip to main content
Mainstream browse

Level one

Mainstream browse is a topic system that groups together content by popular topics on GOV.UK.

Live examples

How it’s built

These are the underlying technologies that make-up the level one front template.

Content schema

mainstream_browse_page

What is a content schema?
A GOV.UK content schema is a JSON schema that defines the data structure of a piece of content. It determines what content and metadata attributes the page has.

Content type

mainstream_browse_page

What is a content type?
Content type describes the types of pages that exist on GOV.UK. It’s stored in the content item (JSON) as document_type. It powers search filters in all finders and changes the content type label users see on GOV.UK pages.

Publishing app

collections-publisher

What is a publishing app?
Publishing apps are used by publishers across government departments to publish content to GOV.UK.

Rendering app

collections

What is a rendering app?
Rendering apps render content to GOV.UK end-users.

Components

The components used within the level one frontend template
Component Source Publishing app input field(s)
Layout super navigation header Autogenerated in frontend template
Breadcrumbs Autogenerated in frontend template
Feedback Autogenerated in frontend template
Layout footer Autogenerated in frontend template
Heading Autogenerated in frontend template
H1 styled as a Page title component Customized by publisher

Title (required)

Lead paragraph Customized by publisher

Description (required)

Cards Customized by publisher

Subtopics

Action link Hardcoded by developer

How to report an issue

If you happen to come across an issue:

  1. Report it on Github (opens in a new tab).
  2. Once the issue has been added, update this document by adding the title and Github Issue's link.
  3. Give yourself a high-five.

Help improve this frontend template

To help make sure that this page is useful, relevant and up to date, submit a GitHub issue (opens in a new tab) with your proposed updates.