I want to use django built-in template tag forloop.counter0
in a math expression. This is what I came up with:
{% for category in categories %}
<li class="wow fadeInUp" data-wow-delay="{{ forloop.counter0 * 0.1 }}s">
//whatever
</li>
{% endfor %}
Which I learn is wrong cause of this error:
Could not parse the remainder: ' * 0.1' from 'forloop.counter0 * 0.1'
Is it anyway to solve this issue?
Isn't there anyway that I could use a built-in function in a math expression?