I wrote my code in template like below
{% for stage in 1..1 %}
{% if true %}
1
{% for a in [] %}
{% for b in [] %}
{% endfor %}
{% endfor %}
{% else %}
2
{% endif %}
{% endfor %}
The condition should always be true, but the code output both '1' and '2'.
1 2
Is it a bug?