diff options
Diffstat (limited to 'design/templates/details')
-rw-r--r-- | design/templates/details/photo_gallery.html | 2 |
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">∞ {{forloop.counter|number_to_word}} ∞</a></h6> <figure class="fig"> |