{% extends "zinnia/entry_list.html" %} {% load i18n zinnia_tags %} {% 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 content %}

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

{% if error %}

{{ error }}

{% endif %} {% if object_list %}

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

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

{% empty %}

{% trans "Nothing found." %}

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