Page preview example

Default

How it looks (preview)

Share document preview for fact check or approval

Contents

A carrot cake has been baked - GOV.UK
https://www.gov.uk/news/cake-baked
A carrot cake was baked for the publishing workflow team's fika, the government announced today.

How to call this example

<%= render "components/page_preview", {
  title: "A carrot cake has been baked",
  base_path: "/news/cake-baked",
  description: "A carrot cake was baked for the publishing workflow team's fika, the government announced today.",
  url: "https://www.gov.uk/browse"
} %>