Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

for statement

How to do in Volt Template Engine for php statement for($i=0;$i<10;$i++)



27.9k
Accepted
answer

for your example

<ul>
{% for i in 0..10 %}
    <li> {{ i }} </li>
{% endfor %}
</ul>