diff --git a/searx/templates/oscar/results.html b/searx/templates/oscar/results.html index a75825611..155194546 100644 --- a/searx/templates/oscar/results.html +++ b/searx/templates/oscar/results.html @@ -25,8 +25,8 @@ {% endif %} {% endfor %} - - {% if not results %} + + {% if not results and not answers %} {% include 'oscar/messages/no_results.html' %} {% endif %} @@ -82,7 +82,7 @@ {% for infobox in infoboxes %} {% include 'oscar/infobox.html' %} {% endfor %} - {% endif %} + {% endif %} {% if suggestions %}
@@ -111,7 +111,7 @@
- +
{% for output_type in ('csv', 'json', 'rss') %} @@ -122,7 +122,7 @@ - {% endfor %} + {% endfor %}