Remove unwanted divs

This commit is contained in:
benjamin melançon 2018-10-22 18:21:35 -04:00
parent 1b78871334
commit 90cb6799a4

View file

@ -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 %}
<div{{ attributes.addClass(classes) }}>
<div {{ region_attributes.content }}>
<section{{ header_section_attributes }}>
<section{{ attributes header_section_attributes }}>
{# Header hero region #}
<div class="hero-body">
<div class="container">
@ -32,9 +27,6 @@
{{ content.title }}
</div>
</div>
</div>
</div>
{{ content.content }}
</div>
</div>
{% endif %}