From 7406893c4fa0a6f1986f4ddf487c5513fbe29b96 Mon Sep 17 00:00:00 2001 From: Andrew Hosgood Date: Fri, 6 Oct 2023 18:08:18 +0100 Subject: [PATCH] Update template layouts (#12) --- .../templates/layouts/_generic.njk | 25 +++++++++++-------- .../templates/layouts/_prototype-kit.njk | 1 - 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/src/nationalarchives/templates/layouts/_generic.njk b/src/nationalarchives/templates/layouts/_generic.njk index cb56dccb..c2eb1526 100644 --- a/src/nationalarchives/templates/layouts/_generic.njk +++ b/src/nationalarchives/templates/layouts/_generic.njk @@ -4,7 +4,7 @@ {% from "nationalarchives/components/header/macro.njk" import tnaHeader -%} {% from "nationalarchives/components/skip-link/macro.njk" import tnaSkipLink -%} - + {% block pageTitle %}The National Archives{% endblock %} @@ -14,17 +14,17 @@ {% block headIcons %} - {# Hardcoded value of $govuk-black #} - - - - + + + + + {% endblock %} {% block head %}{% endblock %} {% block stylesheets %} - + {% endblock %} @@ -60,10 +60,15 @@ {% endblock %} {% block bodyEnd %} - + {# + + + #} {% endblock %} diff --git a/src/nationalarchives/templates/layouts/_prototype-kit.njk b/src/nationalarchives/templates/layouts/_prototype-kit.njk index 9c44a34e..2959d61c 100644 --- a/src/nationalarchives/templates/layouts/_prototype-kit.njk +++ b/src/nationalarchives/templates/layouts/_prototype-kit.njk @@ -8,7 +8,6 @@ {% endblock %} {% block bodyEnd %} - {{ super() }} {% include "govuk-prototype-kit/includes/scripts.njk" %}