X-Git-Url: https://git.sommitrealweird.co.uk/sommitrealweird.git/blobdiff_plain/6746b20632b76e4a04be07428ab2581483869d40..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 402deed..df9259e 100644 --- a/sommitrealweird/photo/templates/photo/album_index.html +++ b/sommitrealweird/photo/templates/photo/album_index.html @@ -5,12 +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 %}