mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-26 03:21:05 +00:00
11 lines
337 B
HTML
11 lines
337 B
HTML
{% if book.cover %}
|
|
<img class="book-cover {{ size }}" src="/images/{{ book.cover }}">
|
|
{% else %}
|
|
<div class="no-cover book-cover">
|
|
<img class="book-cover {{ size }}" src="/static/images/no_cover.jpg">
|
|
<div>
|
|
<p class="title">{{ book.title }}</p>
|
|
<p>{{ book.authors.first.name }}</p>
|
|
</div>
|
|
</div>
|
|
{% endif %}
|