{% extends "zinnia/entry_list.html" %} {% load i18n zinnia_tags %} {% load url from future %} {% block title %}{% trans "Search results for" %} {% if pattern %}'{{ pattern }}'{% endif %}{% if page_obj %}{% ifnotequal page_obj.number 1 %} | {% trans "Page" %} {{ page_obj.number }}{% endifnotequal %}{% endif %}{% endblock %} {% block meta-description %}{% trans "Search results for" %} {% if pattern %}'{{ pattern }}'{% endif %}{% if page_obj %}{% ifnotequal page_obj.number 1 %} {% trans "page" %} {{ page_obj.number }}{% endifnotequal %}{% endif %}{% endblock %} {% block link %} {{ block.super }} {% endblock %} {% block body-class %}{{ block.super }} search {% if object_list %}search-results{% else %}search-no-results{% endif %}{% endblock %} {% block content-title %}
{{ error }}
{% endif %} {% if object_list %}{% blocktrans count entry_count=paginator.count %}{{ entry_count }} entry found{% plural %}{{ entry_count }} entries found{% endblocktrans %}
{% endif %} {% endblock %} {% block content-loop %} {% if not error %} {% for object in object_list %} {% include object.content_template with object_content=object.html_content|truncatewords_html:100|safe continue_reading=1 %} {% empty %}{% trans "Nothing found." %}
{% endfor %} {% endif %} {% endblock %} {% block content-related %}