bookwyrm/fedireads/templates/snippets/book.html

19 lines
481 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">
2020-03-07 06:56:44 +00:00
<a href="/book/{{ book.openlibrary_key }}">{{ book.title }}</a>
2020-02-11 05:09:04 +00:00
</p>
<p>
2020-03-07 06:56:44 +00:00
by {% include 'snippets/authors.html' with book=book %}
</p>
2020-02-11 05:09:04 +00:00
{% if rating %}
{{ rating | stars }} {{ rating }}
{% endif %}
{% if description %}
2020-03-07 06:56:44 +00:00
<blockquote>{{ book.description | description }}</blockquote>
2020-02-11 05:09:04 +00:00
{% endif %}
{% include 'snippets/shelve-button.html' with book=book pulldown=shelf_pulldown %}