From 33969ca670408a6b049c68db76460ba09d4ea032 Mon Sep 17 00:00:00 2001 From: asciimoo Date: Wed, 13 Nov 2013 19:35:32 +0100 Subject: [enh] suggestion rendering --- searx/templates/results.html | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'searx/templates') diff --git a/searx/templates/results.html b/searx/templates/results.html index 40c20325c..df9410eb4 100644 --- a/searx/templates/results.html +++ b/searx/templates/results.html @@ -5,9 +5,12 @@ {% include 'search.html' %}
-
- Number of results: {{ number_of_results }} -
+ {% if suggestions %} +
Suggestions: {% for suggestion in suggestions %}{{ suggestion }}{% endfor %}
+ {% endif %} +
+ Number of results: {{ number_of_results }} +
{% for result in results %} {% if result['template'] %} {% include 'result_templates/'+result['template'] %} -- cgit v1.2.3-54-g00ecf