{# Coffee House Page Header — Title + breadcrumbs + action buttons. Usage: {% with page_title="Users", breadcrumbs=[{"label": "Admin", "href": "/admin"}, {"label": "Users"}] %} {% include "components/page_header.html" %} {% endwith %} Expected context: - page_title: str - breadcrumbs: list[dict] (optional) — [{label, href?}] last item has no href - page_actions: str (optional) — raw HTML for action buttons (set via block or set) #}
{% if breadcrumbs is defined and breadcrumbs %} {% endif %}

{{ page_title | default("Page") }}

{% if page_actions is defined and page_actions %}
{{ page_actions | safe }}
{% endif %}