From 4b05de01993b2c6ac5f9a6620eedb083bb153294 Mon Sep 17 00:00:00 2001 From: Ben Surgison Date: Mon, 23 Jan 2023 16:29:40 +0000 Subject: [PATCH] Allow users to add additional scripts and stylesheets --- lib/nunjucks/govuk-prototype-kit/layouts/govuk-branded.njk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/nunjucks/govuk-prototype-kit/layouts/govuk-branded.njk b/lib/nunjucks/govuk-prototype-kit/layouts/govuk-branded.njk index cfd21da09f..3732380c8d 100644 --- a/lib/nunjucks/govuk-prototype-kit/layouts/govuk-branded.njk +++ b/lib/nunjucks/govuk-prototype-kit/layouts/govuk-branded.njk @@ -6,6 +6,8 @@ {% block meta %}{% endblock %} {% block stylesheets %} {% include "govuk-prototype-kit/includes/stylesheets.njk" %} + {% block globalStylesheets %}{% endblock %} + {% block pageStylesheets %}{% endblock %} {% endblock %} {% endblock %} @@ -53,6 +55,7 @@ {% block bodyEnd %} {% block scripts %} {% include "govuk-prototype-kit/includes/scripts.njk" %} + {% block globalScripts %}{% endblock %} {% block pageScripts %}{% endblock %} {% endblock %} {% endblock %}