{# Shared page header: icon tile + overline + title + description, with any page actions passed through a {% call %} block on the right. {% call page_head("assessments", "Assessments", "Assessment register") %} New {% endcall %} #} {% from "_icons.html" import icon %} {% macro page_head(icon_name, overline, title, description=None) -%}
{{ icon(icon_name, "page-head__icon", 1.6, 22) }}
{{ overline }}

{{ title }}

{% if description %}

{{ description }}

{% endif %}
{% if caller is defined %}
{{ caller() }}
{% endif %}
{%- endmacro %}