1. Component Guide
  2. Metadata block
  3. External link
Metadata block example

External link

How it looks (preview)

How to call this example

<%= render "govuk_publishing_components/components/metadata", {
  from: sanitize("<a href='/government/organisations/cabinet-office'>Cabinet Office</a>"),
  first_published: "14 June 2014",
  other: {
    "Applies to": sanitize("England, Scotland, and Wales (see detailed guidance for <a href=\"http://www.dardni.gov.uk/news-dard-pa022-a-13-new-procedure-for\" rel=\"external\">Northern Ireland</a>)")
  }
} %>