{% spaceless %} {% load bookwyrm_tags %} {% load markdown %} {% load i18n %} {% load cache %} {% if not hide_book %} {% cache 259200 generated_status_book status.id %} {% with book=status.book|default:status.mention_books.first %}
{% include 'snippets/book_cover.html' with book=book cover_class='is-h-xs is-h-s-tablet' size='small' size_mobile='xsmall' %}

{% include 'snippets/book_titleby.html' with book=book %}

{{ book|book_description|to_markdown|default:""|safe|truncatewords_html:20 }}

{% include 'snippets/shelve_button/shelve_button.html' with book=book %}
{% endwith %} {% endcache %} {% endif %} {% endspaceless %}