Skip to main content

Page templates

You can find some example page templates in patterns section of the NHS service manual.

These include:

To use one, copy and paste the Nunjucks code from the page into a new file in your /app/views folder.

The file name should end with .html and not contain any spaces, for example what-are-your-symptoms.html

You will also need to add this line of code to the top of each page:

{% extends "layout.html" %}

NHS website pages

If you are prototyping a service which includes pages on the NHS website, you can use these additional templates: