{%- for piece in data.widget._pieces -%} {% if piece.attachment %} {{ piece.title }} {% endif %} {%- endfor -%}