when published date is NaN, set to 0
[wolnelektury.git] / wolnelektury / templates / catalogue / fragment_promo.html
index a3b01be..cf817ae 100755 (executable)
@@ -1,10 +1,8 @@
-{% load removewholetags from catalogue_tags %}
-
 {% if fragment %}
 <a href="{{ fragment.get_absolute_url }}" class="cite">
     <blockquote class="cite-body">
-        {{ fragment.text|removewholetags:"a"|truncatewords_html:15|safe }}
+        {{ fragment.get_short_text|safe }}
     </blockquote>
-    <p class="mono">{{ fragment.book.pretty_title }}</p>
+    <p class="mono source">{{ fragment.book.pretty_title }}</p>
 </a>
 {% endif %}