Fixed collecting content for snippet generation
[wolnelektury.git] / wolnelektury / templates / catalogue / book_mini_box.html
index 6728be8..58abaa6 100755 (executable)
@@ -1,4 +1,3 @@
-{% load i18n %}
 {% load thumbnail %}
 <div class="book-mini-box">
     <a href="{{ book.get_absolute_url }}">
@@ -9,11 +8,13 @@
                 {% empty %}
                     {{ book.cover.url }}
                 {% endthumbnail %}
-            " alt="{% trans "Book cover" %}" />
+            " alt="Cover" />
         {% endif %}
         {% for author in authors %}
-            <div class="mono author">{{ author }}</div>
-            {{ book.title }}
+            <div class="desc">
+                <span class="mono author">{{ author }}</span>
+                <span class="title">{{ book.title }}</span>
+            </div>
         {% endfor %}
     </a>
 </div>