Reputation: 1545
Looking through the docs (https://jinja.palletsprojects.com/en/2.10.x/templates/), all the examples seem to be showing using for
loops to iterate through lists.
I just want to have a simple numeric iterator, i.e. for ($i = 1; $i <= 10; $i++)
.
Is this possible in Jinja ?
Upvotes: 2
Views: 317