{% for path in images %} {% if section %} {% set full_path = section.path ~ path %} {% endif %} {% if page %} {% set full_path = page.path ~ path %} {% endif %} {% set thumb = resize_image(path=full_path, width=120, height=120) %}
{% if images | length > 1 %} {% if loop.first %} ⟳ {% else %} < {% endif %} {% if loop.last %} ⟲ {% else %} > {% endif %} {% else %} {% endif %} {% if images | length > 1 %} {% if loop.first %} {% else %} {% endif %} {% if loop.last %} {% else %} {% endif %} {% endif %}
{% endfor %}