name: Public layout description: A layout to be used by public-facing applications body: | Because it is an entire HTML document, this component can only be [previewed on a separate page](/public). display_preview: false display_html: true accessibility_criteria: | The layout template must: * have a `lang` attribute * contain a [skip link](/component-guide/skip_link) * have a sensible page `
This is some body text with a link. with_current_account_navigation: description: "The account layout renders with an account-specific nav to help users navigate different areas of their account. This flag is here to allow control over which option in the nav is highlighted as `current`. Valid options are currently `your-account` and `manage`." data: show_account_layout: true account_nav_location: "manage" block: |
This is a page under the "Manage your account" section, so we must highlight "Manage your account" in the account navigation.
with_account_layout_but_without_account_navigation: description: The account layout renders with account navigation by default, this hides it. data: show_account_layout: true omit_account_navigation: true block: |This is some body text with a link.
with_account_layout_but_without_account_phase_banner: description: The account layout renders with a phase banner by default, this hides it. data: show_account_layout: true omit_account_phase_banner: true block: |This is some body text with a link.
with_custom_cookie_banner: description: Passes content through to the [cookie banner component](/component-guide/cookie_banner/). data: cookie_banner_data: title: Can we use cookies to collect information about how you use GOV.UK? text: Cookies help us see where we can make improvements to GOV.UK. confirmation_message: You have accepted cookies. cookie_preferences_href: https://www.gov.uk/government/publications/govuk-accounts-trial-full-privacy-notice-and-accessibility-statement services_cookies: yes: text: Yes data_attributes: track_category: cookieBanner no: text: No data_attributes: track-category: cookieBanner cookie_preferences: text: How GOV.UK accounts use cookies href: https://www.gov.uk/government/publications/govuk-accounts-trial-full-privacy-notice-and-accessibility-statement