summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/template/templates/lstrip_blocks.j2
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/template/templates/lstrip_blocks.j2')
-rw-r--r--test/integration/targets/template/templates/lstrip_blocks.j28
1 files changed, 8 insertions, 0 deletions
diff --git a/test/integration/targets/template/templates/lstrip_blocks.j2 b/test/integration/targets/template/templates/lstrip_blocks.j2
new file mode 100644
index 0000000..d572da6
--- /dev/null
+++ b/test/integration/targets/template/templates/lstrip_blocks.j2
@@ -0,0 +1,8 @@
+{% set hello_world="hello world" %}
+{% for i in [1, 2, 3] %}
+ {% if loop.first %}
+{{hello_world}}
+ {% else %}
+{{hello_world}}
+ {% endif %}
+{% endfor %}