{% for i in [1,2] %}{% filter upper %}{{i}}{% break %}{% endfilter %}{% endfor %}