{% from "govuk_frontend_jinja/macros/attributes.html" import govukAttributes -%} {% from "govuk_frontend_jinja/components/skip-link/macro.html" import govukSkipLink -%} {% from "govuk_frontend_jinja/components/header/macro.html" import govukHeader -%} {% from "govuk_frontend_jinja/components/footer/macro.html" import govukFooter -%} {%- set _rebrand = govukRebrand() if govukRebrand is callable else govukRebrand -%} {# Hardcoded value is $govuk-brand-blue if rebrand, otherwise govuk-colour("black") -#} {% set themeColor = themeColor | default("#1d70b8" if _rebrand else "#0b0c0c", true) -%} {% set assetPath = assetPath | default("/assets/rebrand" if _rebrand else "/assets", true) -%} {% block pageTitle %}GOV.UK - The best place to find government services and information{% endblock %} {% block headIcons %} {% endblock %} {% block head %}{% endblock %} {#- OpenGraph images needs to be absolute, so we need either a URL for the image or for assetUrl to be set #} {% if opengraphImageUrl or assetUrl %} {% endif %} {% block bodyStart %}{% endblock %} {% block skipLink %} {{ govukSkipLink({ 'href': '#main-content', 'text': 'Skip to main content' }) }} {% endblock %} {% block header %} {{ govukHeader({ 'rebrand': _rebrand }) }} {% endblock %} {% block main %}
{% block beforeContent %}{% endblock %}
{% block content %}{% endblock %}
{% endblock %} {% block footer %} {{ govukFooter({ 'rebrand': _rebrand }) }} {% endblock %} {% block bodyEnd %}{% endblock %}