Bring person node paragraphs in line with regular node paragraph handling

This commit is contained in:
benjamin melançon 2018-12-16 11:52:50 -05:00
parent d6dac423a1
commit f26fbe6552

View file

@ -106,7 +106,6 @@
{% endif %} {% endif %}
{% set bust_out = false %} {% set bust_out = false %}
{% set busted_out = false %}
{% set walls_up = false %} {% set walls_up = false %}
{% if content.field_body_paragraph %} {% if content.field_body_paragraph %}
@ -115,7 +114,7 @@
{% if paragraph['#paragraph'].field_style_escape_flow.value is not empty %} {% if paragraph['#paragraph'].field_style_escape_flow.value is not empty %}
{% set bust_out = paragraph['#paragraph'].field_style_escape_flow.value %} {% set bust_out = paragraph['#paragraph'].field_style_escape_flow.value %}
{% endif %} {% endif %}
{% if bust_out != true and busted_out != true %} {% if walls_up == false and bust_out == false %}
{# We need to be in the flow but the lugeslide walls aren't up yet #} {# We need to be in the flow but the lugeslide walls aren't up yet #}
<section class="section" data-headerbg="light"> <section class="section" data-headerbg="light">
<div class="container"> <div class="container">