Merge branch 'pretty' of github.com:fnp/wolnelektury into pretty
[wolnelektury.git] / wolnelektury / templates / catalogue / book_short.html
index 6173d7c..424487b 100644 (file)
             </div>
             <div class="title"><a href="{{ main_link }}">{{ book.title }}</a></div>
         </div>
+
         <div class="tags">
+               {% spaceless %}
+
             <span class="mono"> {% trans "Epoch" %}:</span>&nbsp;<span class="book-box-tag">
                {% for name, slug in related.tags.epoch %}
                        <a href="{% tag_url 'epoch' slug %}">{{ name }}</a>
                 {% endfor %}
             </span>
 
-            {% shelf_tags book %}
+           {% endspaceless %}
         </div>
     </div>
+    {% shelf_tags book %}
 
     <ul class="book-box-tools">
         <li class="book-box-read">