From 43faf40dbc28905e653a2d5618d79e789c513e8f Mon Sep 17 00:00:00 2001 From: igloosi Date: Thu, 8 Nov 2018 10:48:18 +0000 Subject: [PATCH 1/3] Make unbranded layout available in app views --- app/views/layout_unbranded.html | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 app/views/layout_unbranded.html diff --git a/app/views/layout_unbranded.html b/app/views/layout_unbranded.html new file mode 100644 index 0000000000..77387dc65f --- /dev/null +++ b/app/views/layout_unbranded.html @@ -0,0 +1,21 @@ +{% extends "template.njk" %} + +{% block headIcons %} + + + + + + +{% endblock %} + +{% block head %} + +{% endblock %} + +{% block header %}{% endblock %} +{% block footer %}{% endblock %} + +{% block bodyEnd %} + {% include "includes/scripts.html" %} +{% endblock %} From bcb03227c9ec2d3cae2bbc6b194583cf6debd2e5 Mon Sep 17 00:00:00 2001 From: igloosi Date: Thu, 8 Nov 2018 10:48:43 +0000 Subject: [PATCH 2/3] Enable global styles in unbranded.css --- app/assets/sass/unbranded.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/sass/unbranded.scss b/app/assets/sass/unbranded.scss index 2f46b65d9f..a64e40d5ee 100644 --- a/app/assets/sass/unbranded.scss +++ b/app/assets/sass/unbranded.scss @@ -1,4 +1,5 @@ @import "node_modules/govuk-frontend/settings/all"; +$govuk-global-styles: true; // Override the govuk-frontend font stack $govuk-font-family: "HelveticaNeue", "Helvetica Neue", "Arial", "Helvetica", sans-serif; From 430f7a75ad6185cf79f1fa6f732f36484c4a307f Mon Sep 17 00:00:00 2001 From: igloosi Date: Thu, 8 Nov 2018 10:52:53 +0000 Subject: [PATCH 3/3] Document in CHANGELOG --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b55f423154..9e2c317293 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ Bug fixes: - [#634 Avoid double-nested buttons in step-by-step navigation](https://github.com/alphagov/govuk-prototype-kit/pull/634) +- [#638 Make unbranded template available for use in app/views](https://github.com/alphagov/govuk-prototype-kit/pull/638) + # 8.3.0 New features: