- <a href="{{ book.get_absolute_url }}" tabindex="-1">
- <img src="{{ book.cover_clean.url }}" alt="{{ book.pretty_title }}">
- </a>
+ {% if book.cover_clean %}
+ <a href="{{ book.get_absolute_url }}" tabindex="-1">
+ <img src="{{ book.cover_clean.url }}" alt="{{ book.pretty_title }}">
+ </a>
+ {% endif %}