1. Component Guide
  2. Page title
  3. With context inside
Page title example

With context inside

If the context should be considered part of the page heading, you can nest the context within the <h1>.

How it looks (preview)

Publication My page title

How to call this example

<%= render "govuk_publishing_components/components/title", {
  context: "Publication",
  title: "My page title",
  context_inside: true
} %>