Remove back_link parameter from page_header macro

This commit is contained in:
Katie Smith
2021-08-03 11:28:15 +01:00
parent 0f0b8b8ae4
commit f1d9f2ab19
@@ -1,15 +1,8 @@
{% from "components/back-link/macro.njk" import govukBackLink %}
{% macro page_header( {% macro page_header(
h1, h1,
back_link=None,
size='large' size='large'
) %} ) %}
{% if back_link %}
{{ govukBackLink({ "href": back_link }) }}
{% endif %}
<h1 class="heading-{{ size }}" id="page-header">{{ h1 }}</h1> <h1 class="heading-{{ size }}" id="page-header">{{ h1 }}</h1>
{% endmacro %} {% endmacro %}