diff options
author | luxagraf <sng@luxagraf.net> | 2015-11-27 01:18:26 +0000 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2015-11-27 01:18:26 +0000 |
commit | 6ea995e8ce5cda65ffe9f4f333165f74a94ad8ca (patch) | |
tree | c19f561df0d365a4f27defa051a55e731711ba4f /design/templates/archives/src_books.html | |
parent | 75add1c54b5bb708765687ad90f6ad11b380e4f2 (diff) |
fixed a bug in book image url and added template for elliott videos page
Diffstat (limited to 'design/templates/archives/src_books.html')
-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> |