{% load static %} {{ collection.title }} {% if not slides %}

This collection has no images yet.

{% elif layout == 'grid' or layout == 'masonry' %}
{% for s in slides %}
{{ s.title }}
{{ s.title }}
{% endfor %}
{% else %}
{% for s in slides %}
{{ s.title }}
{% endfor %} {% if slides|length > 1 %}
1 / {{ slides|length }}
{% endif %}
{{ slides.0.title }}
{% if slides|length > 1 %}
{% for s in slides %} {% endfor %}
{% endif %}
{% endif %}