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

{% trans 'Article Search Results' %}

{% if search_term %}

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

{% elif keyword %}

{% trans 'Keyword' %}: {{ keyword }}

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

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

{% endfor %} {% if articles %} {% include "elements/pagination.html" with form_id=form.id %} {% endif %}

{% blocktrans count result_count=page_obj.paginator.count %} 1 result {% plural %} {{ result_count }} results {% endblocktrans %}

{% if not keyword %} {{ form|materializecss }} {% else %} You are currently browsing by keyword. Search for an article. {% endif %}
{% if all_keywords %}
{% endif %}
{% endblock %}