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
Layout footer Autogenerated in frontend template
History and insights
Date Description Document Format

List of all the answer pages and its associated data

Answer page: categorising data (opens in a new tab)

Data on exiting from DWP answer pages

Answer pages: exits (opens in a new tab)

Time on page against word count for DWP answer pages

Answer pages: average engagement time/word count (opens in a new tab)

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

Answer pages: pages visited after (opens in a new tab)

Help improve this frontend template

To help make sure that this page is useful, relevant and up to date, instructions on how to contribute can be found on the GitHub repository (opens in a new tab).