1. Collections Component Guide
  2. Page title
  3. In html publication with context link
Page title example

In html publication with context link

Page titles are used in HTML Publications (see example)

How it looks (preview)

Publication

HTML publication page title

How to call this example

<%= render "govuk_publishing_components/components/title", {
  context: {
    text: "Publication",
    href: "/link"
  },
  title: "HTML publication page title",
  inverse: true,
  margin_bottom: 0
} %>