- <p>{% trans "In fragment" %}
- {% if hit.themes_hit %}{% trans ", for themes:" %}{% for t in hit.themes_hit %}{{t.name}} {% endfor %}{% endif %}
- </p>
- <a href="{{hit.fragment.get_absolute_url}}">{{hit.fragment.short_text|safe}}</a>
+ {% if hit.themes_hit %}
+ {% inline_tag_list hit.themes_hit %}
+ {% endif %}
+ <a href="{{hit.fragment.get_absolute_url}}">{{hit.fragment.text|truncatewords_html:15|safe}}</a>