diff --git a/agaric/templates/paragraph/paragraph.html.twig b/agaric/templates/paragraph/paragraph.html.twig index 7713e3f..56e3843 100644 --- a/agaric/templates/paragraph/paragraph.html.twig +++ b/agaric/templates/paragraph/paragraph.html.twig @@ -52,7 +52,7 @@ {% set section_classes = [ 'hero' ] %} {% set section_classes = section_classes|merge(styles) %} {% endif %} -{% if paragraph.field_style_escape_flow is not empty and paragraph.field_style_escape_flow.value == true %} +{% if paragraph.field_style_escape_flow.value == true %} {% set section_attributes = create_attribute().addClass(section_classes).setAttribute('data-headerbg', 'light') %}
{% endif %} @@ -69,6 +69,6 @@ {% endif %} {% endblock paragraph %} -{% if paragraph.field_style_escape_flow is not empty and paragraph.field_style_escape_flow.value == true %} +{% if paragraph.field_style_escape_flow.value == true %}
{% endif %}