{% extends "base_ajax.html" if is_pjax else "impala/base_shared.html" %} {% set query_term = query.q %} {% block bodyclass %}pjax {{ super() }}{% endblock %} {% if query_term %} {# L10n: {0} is a search term, such as Firebug. #} {% set title = _('{0} :: Search')|f(query_term) %} {# L10n: {0} is a search term, such as Firebug. #} {% set heading = _('Search Results for "{0}"')|f(query_term) %} {% elif tag %} {# L10n: {0} is a tag, such as jetpack. #} {% set title = _('{0} :: Tag')|f(tag) %} {# L10n: {0} is a tag, such as jetpack. #} {% set heading = _('Search Results for tag "{0}"')|f(tag) %} {% else %} {% set title = _('Search') %} {% set heading = title %} {% endif %} {% block title %} {{ page_title(title) }} {% endblock %} {% block extrahead %} {% endblock %} {% macro facet(title, id, links) %}
{{ ngettext('{0} matching result', '{0} matching results', cnt)|fe(cnt|numberfmt) }}
{% endmacro %} {% block content %} {% if is_pjax %} {% include "search/results_inner.html" %} {% else %}