{% macro govukLabel(params) %} {% from "govuk_frontend_jinja/macros/attributes.html" import govukAttributes %} {% if params.html or params.text %} {% set labelHtml %} {% endset -%} {% if params.isPageHeading %}

{{ labelHtml | safe | trim | indent(2) }}

{% else %} {{ labelHtml | safe | trim }} {% endif %} {% endif %} {% endmacro %}