forked from mirrors/bookwyrm
18 lines
761 B
HTML
18 lines
761 B
HTML
{% load bookwyrm_tags %}
|
|
{% if book %}
|
|
<div class="columns">
|
|
<div class="column is-narrow">
|
|
<a href="{{ book.local_path }}">{% include 'snippets/book_cover.html' with book=book size="large" %}</a>
|
|
{% include 'snippets/stars.html' with rating=book|rating:request.user %}
|
|
</div>
|
|
<div class="column">
|
|
<h3 class="title is-5"><a href="/book/{{ book.id }}">{{ book.title }}</a></h3>
|
|
{% if book.authors %}
|
|
<p class="subtitle is-5">by {% include 'snippets/authors.html' with book=book %}</p>
|
|
{% endif %}
|
|
{% if book|book_description %}
|
|
<blockquote class="content">{{ book|book_description|to_markdown|safe|truncatewords_html:50 }}</blockquote>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
{% endif %}
|