From 7b98a21d81bc6990f2fdfff9eff8ff06d3de28de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Mon, 19 Nov 2018 21:23:50 -0500 Subject: [PATCH] Logic was right but looking for values in wrong places. Fixed --- agaric/templates/layout/node--full.html.twig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/agaric/templates/layout/node--full.html.twig b/agaric/templates/layout/node--full.html.twig index fb2875d..49a9364 100644 --- a/agaric/templates/layout/node--full.html.twig +++ b/agaric/templates/layout/node--full.html.twig @@ -109,8 +109,8 @@ {% 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 %} + {% if paragraph['#paragraph'].field_style_escape_flow.value is not empty %} + {% set bust_out = paragraph['#paragraph'].field_style_escape_flow.value %} {% endif %} {% if bust_out != true and busted_out != true %} {# We need to be in the flow but the lugeslide walls aren't up yet #}