From 34d64a92a43ebec1557ef54ed9ff8a9791b5875d Mon Sep 17 00:00:00 2001 From: Hanna Laakso Date: Mon, 8 Feb 2021 18:55:43 +0000 Subject: [PATCH] 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 %}