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

{% trans 'Article Search Results' %}

{% if search_term %}

Searching for: {{ search_term }}

{% elif keyword %}

Keyword: {{ keyword }}

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

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

{% endfor %}
{% csrf_token %}
{% if not keyword %} {{ form.article_search.errors }} {{ form.article_search }} {% else %} {% trans 'You are currently browsing by keyword.' %} {% trans 'Search for an article' %}. {% endif %}
{{ form.sort.errors }} {{ form.sort }}
{% endblock %}