mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-16 04:16:28 +00:00
minor #1565 Update batch.rst (NAYZO)
This PR was squashed before being merged into the 1.17-dev branch (closes #1565).
Discussion
----------
Update batch.rst
Commits
-------
403736f Update batch.rst
This commit is contained in:
@@ -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