{# @description The app header: site icon and breadcrumb trail leading, actions trailing. #} {# @prop page:text | description:"The view's page metadata; the breadcrumb trail is drawn from page.breadcrumbs." #} {# @prop class:text | description:"Extra classes. The shell puts layout.navbar.class on the layout's header area around this." #} {# @slot:above — Content placed above the navbar row. #} {# @slot:below — Content placed below the navbar row. #} {# @slot The navbar row. — Left empty, the header draws itself. #} {# @slot:tray — Content placed after the navbar row, e.g. a search tray. #} {# The shell's layout header holds this, and the layout code decides whether #} {# it stays in place while the page scrolls: an upper-case H keeps it there. #}
{{ above }} {% if slot.strip %} {{ slot }} {% else %} {% endif %} {# A tray (local navigation, a search tray) lines up with the navbar's #} {# content and ends on the header's bottom line. #} {% if tray.strip %}
{{ tray }}
{% endif %} {{ below }}