<a href="{% url 'book_text' first_text.slug %}">
{% endif %}
<img src="{% if book.cover_clean %}{{ book.cover_clean.url }}{% endif %}" alt="{{ book.pretty_title }}" width="240">
<a href="{% url 'book_text' first_text.slug %}">
{% endif %}
<img src="{% if book.cover_clean %}{{ book.cover_clean.url }}{% endif %}" alt="{{ book.pretty_title }}" width="240">