Merge pull request #1138 from joachimesque/images-django-imagekit

Generate thumnails for books
This commit is contained in:
Mouse Reeve
2021-08-18 19:53:12 -06:00
committed by GitHub
27 changed files with 296 additions and 51 deletions

View File

@ -35,7 +35,7 @@
{% for book in shelf.books %}
<div class="control">
<a href="{{ book.local_path }}">
{% include 'snippets/book_cover.html' with book=book cover_class='is-h-m is-h-s-mobile' %}
{% include 'snippets/book_cover.html' with book=book cover_class='is-h-m is-h-s-mobile' size_mobile='small' size='medium' %}
</a>
</div>
{% endfor %}