mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-21 07:37:43 +00:00
refactored documentation
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
``divisibleby``
|
||||
===============
|
||||
|
||||
``divisibleby`` checks if a variable is divisible by a number:
|
||||
|
||||
.. code-block:: jinja
|
||||
|
||||
{% if loop.index is divisibleby(3) %}
|
||||
...
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user