diff options
Diffstat (limited to 'design/templates/archives')
-rw-r--r-- | design/templates/archives/src_books.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/design/templates/archives/src_books.html b/design/templates/archives/src_books.html index 1100750..f15d9ab 100644 --- a/design/templates/archives/src_books.html +++ b/design/templates/archives/src_books.html @@ -12,7 +12,7 @@ <h1 class="hide">Books</h1> <div class="book-list"> {% for object in object_list %} <article class="book-list-item {% cycle "odd" "even" %} {% cycle "uno" "dos" "tres" %}" itemscope itemtype="http://schema.org/Book"> - {% if object.image %}<div class="img-wrapper"><a href="{{object.get_absolute_url}}"><img itemprop="image" src="{{object.image.url}}" alt="cover art for {{object.title}}"/></a></div>{%endif%} + {% if object.image %}<div class="img-wrapper"><a href="{{object.get_absolute_url}}"><img itemprop="image" src="{{object.get_image_url}}" alt="cover art for {{object.title}}"/></a></div>{%endif%} <h2 itemprop="name"><a href="{{object.get_absolute_url}}">{{object.title|amp|smartypants|widont|safe}}</a></h2> </article> {% endfor %}</div> |