moviewyrm/fedireads/templates/snippets/book.html
2020-03-16 17:45:56 -07:00

18 lines
481 B
HTML

{% load fr_display %}
{% include 'snippets/book_cover.html' with book=book %}
<p class="title">
<a href="/book/{{ book.openlibrary_key }}">{{ book.title }}</a>
</p>
<p>
by {% include 'snippets/authors.html' with book=book %}
</p>
{% if rating %}
{{ rating | stars }} {{ rating }}
{% endif %}
{% if description %}
<blockquote>{{ book.description | description }}</blockquote>
{% endif %}
{% include 'snippets/shelve_button.html' with book=book pulldown=shelf_pulldown %}