{% extends 'partials/simplesearch_base.html.twig' %} {% block content %}

{{"PLUGIN_SIMPLESEARCH.SEARCH_RESULTS"|t}}

{% include 'partials/simplesearch_searchbox.html.twig' %}

{% if query %} {% set count = search_results ? search_results.count : 0 %} {% if count == 1 %} {{ "PLUGIN_SIMPLESEARCH.SEARCH_RESULTS_SUMMARY_SINGULAR"|t(query)|raw }} {% else %} {{ "PLUGIN_SIMPLESEARCH.SEARCH_RESULTS_SUMMARY_PLURAL"|t(query, count)|raw }} {% endif %} {% endif %}

{% for page in search_results %} {% include 'partials/simplesearch_item.html.twig' with {'page':page} %} {% endfor %}
{% endblock %}