X-Git-Url: https://git.sommitrealweird.co.uk/sommitrealweird.git/blobdiff_plain/1729c1c46f2e28db125e2256ddbf9b971df53fbf..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 33cbbc6..df9259e 100644 --- a/sommitrealweird/photo/templates/photo/album_index.html +++ b/sommitrealweird/photo/templates/photo/album_index.html @@ -5,7 +5,11 @@ {% 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 %} @@ -13,6 +17,7 @@ {% if album.caption %}

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

 
{% endfor %} {% if is_paginated %}