{# contains informations on the attachments for that post. You can have multiple attachments type. For example, if you include in fieds "attachments_video" you can use post.attachments_video.* in place of post.attachments.* #} {% if post %} {% if post.attachments is defined %}

Attachments

{% for attachment in post.attachments %} {% endfor %} {% endif %} {% endif %}