{% raw %} {% extends "base.html" %} {% load wagtailcore_tags wagtailimages_tags i18n%} {% block content %} {% if search_results %} {% for page in search_results %} {% with parent_section=page.get_parent_section ancestor=page.get_parent_section.get_ancestors.last %} {% endwith %} {% endfor %} {% else %}

{% trans "Search" %}

{% trans "No search results for " %}{{search_query}}.

{% endif %} {% endblock %} {% block search %} {% if search_results %} {% include "search/search_block.html" %} {% endif %} {% endblock %} {% endraw %}