{% load i18n highlight %} {% for result in page_obj.object_list %}
  • {{ result.title }}

    {% if result.text %}

    {% highlight result.text with request.GET.q %}

    {% endif %}

    {{ result.url }}

  • {% empty %}
  • {% trans "No results found for" %} "{{ request.GET.q }}"
  • {% endfor %}