{% set search_box_value = query %} {% set page_title = query + ' - Search' %} {% extends "base.html" %} {% import "common_elements.html" as common_elements %} {% block style %} main > * { max-width: 800px; margin: auto; } #result-info{ margin-top: 10px; margin-bottom: 10px; padding-left: 10px; padding-right: 10px; } #number-of-results{ font-weight:bold; } .item-list{ padding-left: 10px; padding-right: 10px; } .badge{ background-color:#cccccc; } {% endblock style %} {% block main %}
Approximately {{ '{:,}'.format(estimated_results) }} results ({{ '{:,}'.format(estimated_pages) }} pages)
{% if corrections['type'] == 'showing_results_for' %}
Showing results for {{ corrections['corrected_query']|safe }}
Search instead for {{ corrections['original_query'] }}
{% elif corrections['type'] == 'did_you_mean' %}
Did you mean {{ corrections['corrected_query']|safe }}
{% endif %}
{% for info in results %} {{ common_elements.item(info, description=true) }} {% endfor %}
{% endblock main %}