{{ props.heading or 'Этапы' }}

{% for step in [props.step1,props.step2,props.step3] if step %}
0{{ loop.index }}{{ step }}
{% endfor %}