summaryrefslogtreecommitdiff
path: root/design/templates/details
diff options
context:
space:
mode:
Diffstat (limited to 'design/templates/details')
-rw-r--r--design/templates/details/photo_gallery.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/design/templates/details/photo_gallery.html b/design/templates/details/photo_gallery.html
index b991ba2..d34f4e4 100644
--- a/design/templates/details/photo_gallery.html
+++ b/design/templates/details/photo_gallery.html
@@ -24,7 +24,7 @@
</ul>
<p class="directions">Use left/right arrow keys to navigate through photos</p>
<main id="slides" class="image-gallery--wrapper">
- <h1 class="hide">Photos from {{object.title}}</h1>{%for photo in object.image.all reversed %}
+ <h1 class="hide">Photos from {{object.title}}</h1>{%for photo in object.images.all reversed %}
<article id="image-{{forloop.counter}}">
<h6><a href="#image-{{forloop.counter}}" class="permalink" title="link to this image">&#8734; {{forloop.counter|number_to_word}} &#8734;</a></h6>
<figure class="fig">