Merge branch 'page-header' into 'master'

[CHANGE] Wrap page header in `header` element

See merge request allianceauth/allianceauth!1705
This commit is contained in:
Ariel Rin 2025-03-26 01:46:04 +00:00
commit cadc0cb534

View File

@ -2,7 +2,8 @@
{# {% include "framework/header/page-header.html" with title="Foobar" subtitle="Barfoo" %}#}
{% if title %}
<h1 class="page-header text-center mb-3">
<header class="aa-page-header mb-3">
<h1 class="page-header text-center">
{{ title }}
{% if subtitle %}
@ -10,4 +11,5 @@
<small class="text-muted">{{ subtitle }}</small>
{% endif %}
</h1>
</header>
{% endif %}