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)
My page title
How to call this example
<%= render "govuk_publishing_components/components/heading", {
context: "Publication",
text: "My page title",
font_size: "xl",
context_inside: true
} %>