The content flow walls go up only when needed now
This commit is contained in:
parent
52017beec2
commit
2850589004
1 changed files with 11 additions and 3 deletions
|
@ -102,16 +102,24 @@
|
|||
</section>
|
||||
{% endif %}
|
||||
|
||||
<section class="section" data-headerbg="light">
|
||||
<div class="container">
|
||||
<div class="flow content">
|
||||
{% set bust_out = false %}
|
||||
{% set busted_out = false %}
|
||||
|
||||
{% if content.field_body_paragraph %}
|
||||
{% for i, paragraph in content.field_body_paragraph if i|first != '#' %}
|
||||
{% if i is not same as(title_paragraph_index) %}
|
||||
{% if paragraph.field_style_escape_flow is not empty %}
|
||||
{% set bust_out = paragraph.field_style_escape_flow %}
|
||||
{% endif %}
|
||||
{% if bust_out != true %}
|
||||
{{ paragraph }}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
<section class="section" data-headerbg="light">
|
||||
<div class="container">
|
||||
<div class="flow content">
|
||||
<!-- Unexpected extra content -->
|
||||
{{ content|without('field_body_paragraph', 'field_authors', 'uid', 'created') }}
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue