X-Git-Url: https://git.sommitrealweird.co.uk/sommitrealweird.git/blobdiff_plain/d82db041f520a51eccee6788ebc3a494e2a4280f..bf5eb312070092ce660e85f271db579fc3d1edf9:/sommitrealweird/photo/templates/photo/album_index.html diff --git a/sommitrealweird/photo/templates/photo/album_index.html b/sommitrealweird/photo/templates/photo/album_index.html index edfbc9f..df9259e 100644 --- a/sommitrealweird/photo/templates/photo/album_index.html +++ b/sommitrealweird/photo/templates/photo/album_index.html @@ -5,10 +5,19 @@ {% block content %} {% if object_list %} {% for album in object_list %} + {% if forloop.last %} +
+ {% else %}
+ {% endif %} + {% if album.get_main_image %} {{ album.get_main_image.caption }} + {% endif %}

{{ album.name }}

+ {% if album.caption %}

{{ album.caption }} + {% endif %} +

 
{% endfor %} {% if is_paginated %}