{% 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 %}

{% trans "Search results for" %} '{{ pattern }}'

{% if error %}

{{ error }}

{% endif %} {% if object_list %}

{% blocktrans count entry_count=paginator.count %}{{ entry_count }} entry found{% plural %}{{ entry_count }} entries found{% endblocktrans %}

{% endif %} {% for object in object_list %} {% with object_content=object.html_content|truncatewords_html:100|safe continue_reading=1 %} {% include "zinnia/_entry_detail.html" %} {% endwith %} {% empty %}

{% trans "Nothing found." %}

{% endfor %} {% if is_paginated %} {% zinnia_pagination page_obj %} {% endif %} {% endblock %}