mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-15 20:06:31 +00:00
Update batch.rst
This commit is contained in:
committed by
Fabien Potencier
parent
f8b6e918a7
commit
403736f031
@@ -5,8 +5,7 @@
|
||||
The ``batch`` filter was added in Twig 1.12.3.
|
||||
|
||||
The ``batch`` filter "batches" items by returning a list of lists with the
|
||||
given number of items. If you provide a second parameter, it is used to fill
|
||||
missing items:
|
||||
given number of items. A second parameter can be provided and used to fill in missing items:
|
||||
|
||||
.. code-block:: jinja
|
||||
|
||||
|
||||
Reference in New Issue
Block a user