volt numeric auto increment

how to create numeric autoincrement in volt? i tried in looping {% no++ %}, is error thanks!


You can use "do" to execute any arbitrary expression like that:

{% do no++ %}

It gives error "Unknown expression 279 in " whether i use do or not. I have used loop.index as i just wanted to print the table index :)