diff options
Diffstat (limited to 'testing/templates')
-rw-r--r-- | testing/templates/for-range.html | 2 | ||||
-rw-r--r-- | testing/templates/precedence-for.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/testing/templates/for-range.html b/testing/templates/for-range.html index 9b109bb..3688478 100644 --- a/testing/templates/for-range.html +++ b/testing/templates/for-range.html @@ -1,5 +1,5 @@ {% for s in 0..2 -%} - foo + foo{% if loop.first %} (first){% endif %}{% if loop.last %} (last){% endif %} {% endfor -%} {% for s in init..1 -%} diff --git a/testing/templates/precedence-for.html b/testing/templates/precedence-for.html index c8d2cdd..57c900b 100644 --- a/testing/templates/precedence-for.html +++ b/testing/templates/precedence-for.html @@ -1,3 +1,3 @@ {% for s in strings %} - {{- loop.index0 }}. {{ s }}{{ 2 * loop.index }}{% if !loop.first %}{% else %} (first){% endif %} + {{- loop.index0 }}. {{ s }}{{ 2 * loop.index }}{% if !loop.first %}{% else %} (first){% endif %}{% if loop.last %} (last){% endif %} {% endfor %} |