Remove unwanted divs
This commit is contained in:
parent
1b78871334
commit
90cb6799a4
1 changed files with 2 additions and 10 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Reference in a new issue