diff options
author | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2017-02-19 14:19:11 +0100 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2017-02-19 14:19:11 +0100 |
commit | a407cd477bc50582994f21bc8c4f9fc961e177fd (patch) | |
tree | dcb56ad90ed118a387e72863fe8016e0eb9d6903 /testing/templates/for.html | |
parent | 436a82f50f65624d2c7aa4bcca284640c80c47c1 (diff) | |
download | askama-a407cd477bc50582994f21bc8c4f9fc961e177fd.tar.gz askama-a407cd477bc50582994f21bc8c4f9fc961e177fd.tar.bz2 askama-a407cd477bc50582994f21bc8c4f9fc961e177fd.zip |
Add basic test for loop variables
Diffstat (limited to '')
-rw-r--r-- | testing/templates/for.html | 2 |
1 files changed, 1 insertions, 1 deletions
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 %} |