[CHANGE] Docs updated with the missing subtitle attribute

This commit is contained in:
Peter Pfeufer 2024-05-12 11:40:47 +02:00
parent a7cb6ee434
commit 2326522b29
No known key found for this signature in database
GPG Key ID: 6051D2C6AD4EBC27

View File

@ -38,7 +38,8 @@ To use it, you can use the following code in your template:
{% block content %} {% block content %}
<div> <div>
{% translate "My Page Header" as page_header %} {% translate "My Page Header" as page_header %}
{% include "framework/header/page-header.html" with title=page_header %} {% translate "My Page Header Subtitle" as optional_subtitle %}
{% include "framework/header/page-header.html" with title=page_header subtitle=optional_subtitle %}
<p>My page content</p> <p>My page content</p>
</div> </div>