{% extends "catalogue/book_short.html" %} {% load i18n %} {% block box-class %}search-result{% endblock %} {% block right-column %}
{% for hit in hits %} {% if hit.snippets %}

In text:

{{hit.snippets.0|safe}}
{% else %} {% if hit.fragment %}

{% trans "In fragment" %} {% if hit.themes_hit %}{% trans ", for themes:" %}{% for t in hit.themes_hit %}{{t.name}} {% endfor %}{% endif %}

{{hit.fragment.get_short_text|safe}}
{% endif %} {% endif %} {% endfor %}
{% endblock %}