forked from mirrors/bookwyrm
13 lines
409 B
HTML
13 lines
409 B
HTML
{% load bookwyrm_tags %}
|
|
{% if book %}
|
|
{% include 'snippets/book_cover.html' with book=book %}
|
|
{% if ratings %}
|
|
{% include 'snippets/stars.html' with rating=ratings|dict_key:book.id %}
|
|
{% endif %}
|
|
|
|
<h3 class="title is-6"><a href="/book/{{ book.id }}">{{ book.title }}</a></h3>
|
|
{% if book.authors %}
|
|
<p class="subtitle is-6">by {% include 'snippets/authors.html' with book=book %}</p>
|
|
{% endif %}
|
|
|
|
{% endif %}
|