{% extends "core/base.html" %} {% load hooks %} {% load i18n %} {% load bootstrap4 %} {% 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 %} {% 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 %} {% include 'elements/forms/errors.html' with form=form%} {% bootstrap_form form %} {% else %} {% trans "You are currently browsing by keyword" %}. {% trans 'Search for an article' %}. {% endif %}
{% if all_keywords %}
{% endif %}
{% endblock %}