From a407cd477bc50582994f21bc8c4f9fc961e177fd Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Sun, 19 Feb 2017 14:19:11 +0100 Subject: Add basic test for loop variables --- testing/templates/for.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testing/templates/for.html') diff --git a/testing/templates/for.html b/testing/templates/for.html index c38e6bb..f63df9d 100644 --- a/testing/templates/for.html +++ b/testing/templates/for.html @@ -1,3 +1,3 @@ {% for s in strings %} - {{ s }} + {{- loop.index0 }}. {{ s }} {% endfor %} -- cgit