1. Collections Component Guide
  2. Subscription links
  3. With custom text
Subscription links example

With custom text

How it looks (preview)

How to call this example

<%= render "govuk_publishing_components/components/subscription_links", {
  email_signup_link: "/foreign-travel-advice/singapore/email-signup",
  email_signup_link_text: "Get notifications",
  feed_link: "/foreign-travel-advice/singapore.atom",
  feed_link_text: "View feed"
} %>