{% extends "zinnia/entry_archive_base.html" %} {% load i18n %} {% block title %}{% trans "Search results" %} {% if pattern %}'{{ pattern }}'{% endif %}{% endblock %} {% block link %} {% endblock %} {% block content %}

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

{% if error %}

{{ error }}

{% endif %} {% if object_list %}

{% blocktrans count object_list|length 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 %} {% endblock %}