{% endif %} @@ -96,13 +100,17 @@ set page = page|merge({ 'content_attributes': create_attribute().addClass([ 'main-content', - 'column', ]), }) %} {% endif %} + {% if not has_columns %} + {# TODO figure out how to move the removeClass here + without a Twig parse error: + set page.content_attributes = page.content_attributes|removeClass('column') #} + {% endif %} {# Main content #} - + {{ page.content }} {% endblock main_content %}