Get a Demo

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 %}
Get Started With Aptuitiv