Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

nunjucks index in loop

{% for item in items %}
	{{ loop.index }}
{% endfor %}

// Nunjucks: Get index in a loop => {{ loop.index }}
 
PREVIOUS NEXT
Tagged: #nunjucks #index #loop
ADD COMMENT
Topic
Name
9+6 =