{% set inColumn = false -%} {%- for block in entry.body -%} {%- if block.type == 'column' -%} {%- if inColumn -%} {%- else -%} {%- set inColumn = true -%}
{%- endif -%}
{%- else -%} {%- include block.type -%} {%- endif -%} {%- endfor -%} {%- if inColumn %}
{% endif -%}