Move back link above main content for straightforward cases

This moves the back link to be above the `<main>` tag by making use of
the new `backLink` block. This doesn't change the pages which are using
a back link as part of the `page_header` macro yet.
This commit is contained in:
Katie Smith
2021-07-30 14:42:54 +01:00
parent 0b9f1053b3
commit 1860b2b690
16 changed files with 64 additions and 33 deletions

View File

@@ -9,9 +9,11 @@
Error
{% endblock %}
{% block maincolumn_content %}
{% block backLink %}
{{ govukBackLink({ "href": back_link }) }}
{% endblock %}
{% block maincolumn_content %}
<div class="bottom-gutter-1-2">
{% call banner_wrapper(type='dangerous') %}