moviewyrm/fedireads/templates/snippets/book.html

19 lines
488 B
HTML
Raw Normal View History

2020-02-11 05:09:04 +00:00
{% load fr_display %}
2020-02-19 07:03:04 +00:00
{% include 'snippets/book_cover.html' with book=book %}
2020-02-11 05:09:04 +00:00
<p class="title">
<a href="/book/{{ book.openlibrary_key }}">{{ book.data.title }}</a>
</p>
<p>
{% include 'snippets/authors.html' with book=book %}
</p>
2020-02-11 05:09:04 +00:00
{% if rating %}
{{ rating | stars }} {{ rating }}
{% endif %}
{% if description %}
<blockquote>{{ book.data.description | description }}</blockquote>
{% endif %}
{% include 'snippets/shelve-button.html' with book=book pulldown=shelf_pulldown %}