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>
|
2020-02-11 06:32:03 +00:00
|
|
|
<p>by <a href="/author/{{ book.authors.first.openlibrary_key }}" class="author">{{ book.authors.first.data.name }}</a></p>
|
2020-02-11 05:09:04 +00:00
|
|
|
|
|
|
|
{% if rating %}
|
|
|
|
{{ rating | stars }} {{ rating }}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if description %}
|
|
|
|
<blockquote>{{ book.data.description | description }}</blockquote>
|
|
|
|
{% endif %}
|