mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-23 00:26:33 +00:00
16 lines
544 B
HTML
16 lines
544 B
HTML
{% load fr_display %}
|
|
{% include 'snippets/book_cover.html' with book=book %}
|
|
<p class="title">
|
|
<a href="/book/{{ book.openlibrary_key }}">{{ book.data.title }}</a>
|
|
</p>
|
|
<p>by <a href="/author/{{ book.authors.first.openlibrary_key }}" class="author">{{ book.authors.first.data.name }}</a></p>
|
|
|
|
{% 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%}
|