<div class="grid grid-layout">
    <div class="container">
        <div class="row">

            {% set size = 12/grid.layout.count() %}

            {% for column in grid.layout %}
                <div class="col-lg-{{ size }}">
                    {{ column.content.views|raw }}
                </div>
            {% endfor %}

        </div>
    </div>
</div>
