[CHANGE] Wrap page header in header element

This commit is contained in:
Peter Pfeufer 2025-03-24 13:32:53 +01:00
parent 055077fa77
commit 702def2a4d
No known key found for this signature in database

View File

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