batch

The batch filter breaks up an array into groups of arrays with the given number of items.

{% for row in items|batch(3, 'No item') %}
{% endfor %}
This documentation is only for Aptuitiv CMS. Learn more.
Get Started With Aptuitiv