{% extends "core/base.html" %} {% load i18n %} {% load hooks %} {% hook 'filter_search' %} {% block title %}{% trans "Search" %}{% endblock %} {% block body %} {% if search_term %}

{% trans 'Searching for' %}: {{ search_term }}

{% elif %}

{% trans 'Search' %}

{% endif %}

{% trans "Articles" %}

{% for article in articles %} {% include "elements/article_listing.html" with article=article level="deep" %} {% empty %}

{% trans "No articles to display." %}

{% endfor %}

{% trans "Searching" %}

{% csrf_token %}
{{ form.article_search.errors }} {{ form.article_search }}
{{ form.sort.errors }} {{ form.sort }}
{% endblock %}