nicer fragments: no anchors in text, prettier short_text
[wolnelektury.git] / wolnelektury / templates / catalogue / fragment_promo.html
index a3b01be..979fff4 100755 (executable)
@@ -3,7 +3,7 @@
 {% 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>
 </a>