From cddc50d2475bc2fc69679c662f20a72cf755138b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Tue, 16 Oct 2018 12:38:23 -0400 Subject: [PATCH] Remove unused divs, add Todd's classes Also, make the front page different and alone --- agaric/templates/layout/page.html.twig | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) 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 %}