Skip to main content
Frontend templates

Answer

Answers are designed to provide all the information the user needs to answer a simple and specific question.

How it works

There is only 1 body field for a quick answer. This contains all the content for a page.

Live examples

Complete list of examples available and page data on Content Data.

How it’s built

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

Content schema

answer

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

answer

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

mainstream-publisher

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

Rendering app

government-frontend

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

Components

The components used within the answer frontend template
Component Source Publishing app input field(s)
Layout super navigation header Autogenerated in frontend template
Breadcrumbs Autogenerated in frontend template

Tagging > Breadcrumbs

Page title Customized by publisher

Title (required)

Govspeak content Customized by publisher

Body

Related navigation when displayed within contextual footer Customized by publisher

Mainstream browse

Related navigation when displayed within contextual sidebar Customized by publisher

Related content items

Feedback Autogenerated in frontend template
Answer page: categorising data Autogenerated in frontend template
History and insights
Date Description Document Format
September 17, 2024

List of all the answer pages and its associated data

Answer page: categorising data (opens in a new tab) Google Sheets
August 28, 2024

Pages visited after an Answer page - figures are no. of sessions

Answer pages: pages visited after (opens in a new tab) Google Sheets
June 10, 2024

Time on page against word count for DWP answer pages

Answer pages: average engagement time/word count (opens in a new tab) Google Sheets
June 6, 2024

Data on exiting from DWP answer pages

Answer pages: exits (opens in a new tab) Google Sheets

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.