{% extends 'ccgallery/base.html' %} {% load ccgallery_tags %} {% block title %} {{item.name}} – {% endblock %} {% block extra_ccgallery_css %} {% gallery_css %} {% endblock %} {% block extra_ccgallery_js %} {% gallery_js %} {% endblock %} {% block ccgallery_breadcrumbs %} {% if category %} {{category.name}} {% endif %} {{item.name}} {% endblock %} {% block body %}

{{item.name }}

{% for image in item.itemimage_set.all %} {% if forloop.first %}
image.caption
{{item.description|markup}}
{% else %} {% if forloop.counter == 2 %}
{% endif %} image.caption {% if forloop.last %}
{% endif %} {% endif %} {% endfor %}
{% endblock %}