attachments

This returns a Query to all attachments of a page. This query can be further filtered to access specific types of attachments if needed.

Example

<div class="images">
{% for image in this.attachments.images %}
  <img src="{{ image.thumbnail(240) }}">
{% endfor %}
</div>

Comments