From 34d64a92a43ebec1557ef54ed9ff8a9791b5875d Mon Sep 17 00:00:00 2001 From: Hanna Laakso Date: Mon, 8 Feb 2021 18:55:43 +0000 Subject: [PATCH 1/2] Import cookie banner macro MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Import the cookie banner so that users can include it in the prototype kit without needing to import it themselves, as we tell them to do in the ‘Getting Started’ documentation in the Design System[1] [1]: design-system.service.gov.uk/get-started/prototyping/#:~:text=When%20using%20Nunjucks%20macros%20in%20the%20Prototype%20Kit%20leave%20out%20the%20first%20line%20that%20starts%20with%20%7B%25%20from%20.... --- app/views/layout.html | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/layout.html b/app/views/layout.html index 334c4d32b4..20f92113c7 100644 --- a/app/views/layout.html +++ b/app/views/layout.html @@ -9,6 +9,7 @@ {% from "govuk/components/button/macro.njk" import govukButton %} {% from "govuk/components/character-count/macro.njk" import govukCharacterCount %} {% from "govuk/components/checkboxes/macro.njk" import govukCheckboxes %} +{% from "govuk/components/cookie-banner/macro.njk" import govukCookieBanner %} {% from "govuk/components/date-input/macro.njk" import govukDateInput %} {% from "govuk/components/details/macro.njk" import govukDetails %} {% from "govuk/components/error-message/macro.njk" import govukErrorMessage %} From ea37982816682225e68c8bf0d13714ca34149eb1 Mon Sep 17 00:00:00 2001 From: Hanna Laakso Date: Tue, 9 Feb 2021 09:21:29 +0000 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 45d2117f96..edd2356c9b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Unreleased +## Fixes + +- [Pull request #987: Import the cookie banner macro as part of the layout](https://github.com/alphagov/govuk-prototype-kit/pull/987) + # 9.12.0 (Feature release) ## New features