{% load rating_tags %} {% load markdown %} {% load i18n %} {% if book %} {% with book=book %}
{% include 'snippets/book_cover.html' with cover_class='is-w-l-mobile is-w-auto-tablet' size='xxlarge' %} {% include 'snippets/stars.html' with rating=book|rating:request.user %}

{{ book.title }}

{% if book.authors %}

{% trans "by" %} {% include 'snippets/authors.html' with limit=3 %}

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