forked from mirrors/bookwyrm
14 lines
478 B
HTML
14 lines
478 B
HTML
{% load fr_display %}
|
|
<div class="cover-container is-{{ size }}">
|
|
{% if book.cover %}
|
|
<img class="book-cover" src="/images/{{ book.cover }}" alt="{% include 'snippets/cover_alt.html' with book=book %}">
|
|
{% else %}
|
|
<div class="no-cover book-cover">
|
|
<img class="book-cover" src="/static/images/no_cover.jpg" alt="No cover">
|
|
<div>
|
|
<p>{{ book.title }}</p>
|
|
<p>({{ book|edition_info }})</p>
|
|
</div>
|
|
</div>
|
|
{% endif %}
|
|
</div>
|