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 %}
|
2021-02-28 18:04:04 +00:00
|
|
|
<img class="book-cover" src="/images/{{ book.cover }}" alt="{{ book.alt_text }}">
|
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>
|
2021-03-07 15:42:02 +00:00
|
|
|
<p>{{ book.alt_text }}</p>
|
2020-09-29 20:11:52 +00:00
|
|
|
</div>
|
2020-03-15 22:41:23 +00:00
|
|
|
</div>
|
|
|
|
{% endif %}
|
2020-09-29 21:11:55 +00:00
|
|
|
</div>
|