diff --git a/agaric/templates/layout/page.html.twig b/agaric/templates/layout/page.html.twig index 43003ce..a46afbf 100644 --- a/agaric/templates/layout/page.html.twig +++ b/agaric/templates/layout/page.html.twig @@ -42,26 +42,22 @@ {% block header %} - {% block header_and_search %} - {% if page.header or page.header_search %} - {# Header hero region + search #} -
+ {% block header_title %} + {% if page.header %} + {# Header hero region #} +
-
-
+ {% if is_front and site_slogan %} +

{{ site_slogan }}

+ {% elseif %} +
{{ page.header }} - {% if is_front and site_slogan %} -

{{ site_slogan }}

- {% endif %}
-
- {{ page.header_search }} -
-
+ {% endif %}
{% endif %} - {% endblock header_and_search %} + {% endblock header_title %} {% block tabs %} {# Drupal tabs #} {% if page.header_tabs %}