{% 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 {{ common_elements.text_runs(corrections['corrected_query_text']) }}
Search instead for {{ corrections['original_query_text'] }}
{% elif corrections['type'] == 'did_you_mean' %}
Did you mean {{ common_elements.text_runs(corrections['corrected_query_text']) }}
{% endif %}
{% for info in results %} {{ common_elements.item(info, description=true) }} {% endfor %}
{% endblock main %}