{% comment %} Displaying a list of Photosets. Expects: * photoset_list, a queryset of Photosets. {% endcomment %} {% if photoset_list|length > 0 %} {% load ditto_core %} {% for row in photoset_list|split_by:3 %}
{% for photoset in row %}

{{ photoset.title }}

{% if photoset.primary_photo %}

{% endif %}

{% include 'flickr/includes/photoset_counts.html' with photoset=photoset only %}

{% endfor %}
{% endfor %} {% else %}

There are no Albums to show.

{% endif %}