{% if book %}
- <section class="l-section">
<div class="p-homepage-prapremiera">
- <div class="l-container">
<h3>Prapremiera</h3>
<div class="p-homepage-prapremiera__box">
- <figure>
- <a href="{{ book.get_absolute_url }}">
- <img src="{{ book.cover_clean.url }}" alt="{{ book.pretty_title }}">
- </a>
- </figure>
- <div class="p-homepage-prapremiera__box__content">
- <strong>
+ <div class="p-homepage-prapremiera__box__item">
+ <figure>
+ <a href="{{ book.get_absolute_url }}">
+ <img src="{{ book.cover_clean.url }}" alt="{{ book.pretty_title }}">
+ </a>
+ </figure>
+ <div class="p-homepage-prapremiera__box__content">
<h4>
{% for author in book.authors %}
<a href="{{ author.get_absolute_url }}">{{ author }}</a>
{% endfor %}
</h4>
<h3><a href="{{ book.get_absolute_url }}">{{ book.title }}</a></h3>
- <p>{{ book.abstract|safe }}</p>
+ <p>{{ book.abstract|safe|truncatewords:20 }}</p>
+ </div>
</div>
<div class="p-homepage-prapremiera__box__donate">
{% if accessible %}
{% endif %}
</div>
</div>
- </div>
</div>
- </section>
{% endif %}