{% if book %}
<div class="b-book-index {% if cover_size %}b-book-index_{{ cover_size }}{% else %}{% endif %} b-book-index_{{ book_index }}">
    <a class="b-book-cover {% if cover_size %}b-book-cover_{{ cover_size }}{% else %}{% endif %}" href="{% url view_book book.id %}">
        <i class="blik"></i>
        <i class="pages"></i>
        <i class="shadow"></i>
        <img src="{{ book.main_cover.img_large.url }}" alt="{{ book.title }}" />
    </a>
    <div class="b-book">
        <span class="name"><a href="{% url view_book book.id %}">{{ book.title }}</a></span>
        <span class="misc">
            {{ book.authors_string }}
        </span>
    </div>
</div>
{% else %}
<div class="b-book-index">
Вместо экземпляра книги передана пустота.
</div> 
{% endif %}