{%- with name=list %} {% for i in name -%} {{ i }} {%- endfor %} {%- endwith %}