From 90cb6799a4ff39efb6977ed464ab808f3fdff3b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Mon, 22 Oct 2018 18:21:35 -0400 Subject: [PATCH] Remove unwanted divs --- .../templates/layout/layout--onecol--node.html.twig | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/agaric/templates/layout/layout--onecol--node.html.twig b/agaric/templates/layout/layout--onecol--node.html.twig index 6d8bfd6..8ccfbf7 100644 --- a/agaric/templates/layout/layout--onecol--node.html.twig +++ b/agaric/templates/layout/layout--onecol--node.html.twig @@ -12,9 +12,6 @@ #} {% set bundle = content['#node'].bundle %} -{{ dump(content['#ds_configuration']['layout']) }} - - {% set header_section_attributes = create_attribute({'class': ['hero', 'is-dark']}) %} {% if is_front %} {# TODO set a variable for background image so we can use base_path rather than / #} @@ -22,9 +19,7 @@ {% endif %} {% if content %} - -
- + {# Header hero region #}
@@ -33,8 +28,5 @@
- - {{ content.content }} - - + {{ content.content }} {% endif %}