{% load bookwyrm_tags %} {% load i18n %} {% if book %} {% with book=book %}
{% include 'snippets/book_cover.html' with size="large" %} {% include 'snippets/stars.html' with rating=book|rating:request.user %}

{{ book.title }}

{% if book.authors %}

{% trans "by" %} {% include 'snippets/authors.html' %}

{% endif %} {% if book|book_description %}
{{ book|book_description|to_markdown|safe|truncatewords_html:50 }}
{% endif %}
{% endwith %} {% endif %}