Added thumbnail urls to book cover srcsets with cache busting ids

This commit is contained in:
mmonkey
2020-12-24 02:35:32 -06:00
parent 626051e489
commit 242a2767a1
15 changed files with 199 additions and 55 deletions
+1 -1
View File
@@ -36,7 +36,7 @@
<div id="books" class="col-sm-3 col-lg-2 col-xs-6 book">
<div class="cover">
<a href="{{ url_for('web.show_book', book_id=entry.id) }}">
{{ book_cover_image(entry, entry.title) }}
{{ book_cover_image(entry, entry.id|get_book_thumbnails(thumbnails)) }}
</a>
</div>
<div class="meta">