{% extends "base.html" %} {% load search_tags %} {% load translation_tags %} {% load domain_date_tags %} {% block title %}{% t "Search" group "Search" %}{% if query %}: {{ query }}{% endif %}{% firstof custom_domain_settings.site_name site_name as page_site_name %}{% if page_site_name %} - {{ page_site_name }}{% endif %}{% endblock %} {% block body_class %} search-results-body{% endblock %} {% block content %}

{% t "Search" group "Search" %}

{% if from_404 %}

{% t "We could not find that page, so we searched for related content instead." group "Search" %}

{% endif %}
{% if from_404 %} {% endif %} {% if missing_path %} {% endif %} {% if show_site_filter or show_date_filter %}
{% if show_site_filter %}
{% t "Sites" group "Search" %}
{% endif %} {% if show_date_filter %}
{% endif %}
{% endif %}
{% if query %} {% if query|length < min_query_length %}

{% t "Please enter at least {n} characters to search." group "Search" n=min_query_length %}

{% elif total_count == 0 %}

{% t "No results found for “{query}”." group "Search" query=query %}

{% else %}

{% if total_count == 1 %} {% t "Found {count} result for “{query}”." group "Search" count=total_count query=query %} {% else %} {% t "Found {count} results for “{query}”." group "Search" count=total_count query=query %} {% endif %}

{% if paginated_results %} {% if paginated_results.has_other_pages %} {% endif %} {% endif %} {% endif %} {% endif %}
{% endblock %}