2020-12-13 02:25:04 +00:00
|
|
|
{% load bookwyrm_tags %}
|
2020-09-29 21:11:55 +00:00
|
|
|
<div class="cover-container is-{{ size }}">
|
2020-03-15 22:41:23 +00:00
|
|
|
{% if book.cover %}
|
2020-09-29 21:11:55 +00:00
|
|
|
<img class="book-cover" src="/images/{{ book.cover }}" alt="{% include 'snippets/cover_alt.html' with book=book %}">
|
2020-03-15 22:41:23 +00:00
|
|
|
{% else %}
|
2020-09-29 21:11:55 +00:00
|
|
|
<div class="no-cover book-cover">
|
|
|
|
<img class="book-cover" src="/static/images/no_cover.jpg" alt="No cover">
|
2020-09-29 20:11:52 +00:00
|
|
|
<div>
|
|
|
|
<p>{{ book.title }}</p>
|
|
|
|
<p>({{ book|edition_info }})</p>
|
|
|
|
</div>
|
2020-03-15 22:41:23 +00:00
|
|
|
</div>
|
|
|
|
{% endif %}
|
2020-09-29 21:11:55 +00:00
|
|
|
</div>
|