[ADD] Page header template

This commit is contained in:
Peter Pfeufer 2023-11-28 20:34:21 +01:00
parent 5c128f2c78
commit ad508bd880
No known key found for this signature in database
GPG Key ID: 6051D2C6AD4EBC27

View File

@ -0,0 +1,13 @@
{#Usage:#}
{# {% include "framework/header/page-header.html" with title="Foobar" subtitle="Barfoo" %}#}
{% if title %}
<h1 class="page-header text-center mb-3">
{{ title }}
{% if subtitle %}
<br>
<small>{{ subtitle }}</small>
{% endif %}
</h1>
{% endif %}