1. Component Guide
  2. Meta Tags
  3. With core tags
Meta Tags example

With core tags

How it looks (preview)

<meta name="govuk:format" content="html_publication">
  <meta name="govuk:publishing-app" content="whitehall">
  <meta name="govuk:schema-name" content="html_publication">
  <meta name="govuk:content-id" content="00000000-0000-0000-0000-00000000000">
  <meta name="govuk:navigation-page-type" content="Taxon Page">
  <meta name="govuk:section" content="business tax">
  <meta name="govuk:withdrawn" content="withdrawn">

How to call this example

<%= render "govuk_publishing_components/components/meta_tags", {
  content_item: {
    document_type: "html_publication",
    publishing_app: "whitehall",
    schema_name: "html_publication",
    content_id: "00000000-0000-0000-0000-00000000000",
    navigation_page_type: "Taxon Page",
    section: "business tax",
    withdrawn_notice: true
  }
} %>