1
0
Fork 0

Get all books for tag

This commit is contained in:
Mouse Reeve 2020-02-21 09:15:20 -08:00
parent 375ff9365f
commit cb6b98992c
3 changed files with 8 additions and 4 deletions

View file

@ -5,7 +5,7 @@
<div>
<h2>Books tagged "{{ tag.name }}"</h2>
{% for book in books.all %}
<div class="book-preview">
<div class="book-preview grid">
{% include 'snippets/book.html' with book=book size=large %}
</div>
{% endfor %}