summaryrefslogtreecommitdiff
path: root/searx/templates/oscar/results.html
diff options
context:
space:
mode:
authorThomas Pointhuber <thomas.pointhuber@gmx.at>2014-10-26 19:20:20 +0100
committerThomas Pointhuber <thomas.pointhuber@gmx.at>2014-10-26 19:20:20 +0100
commita697a1eaa56d05e3b95240cc2f6bd8954b378812 (patch)
tree8ed308403e08fa67611d6a0bbe1292674c7b7b96 /searx/templates/oscar/results.html
parent0e1035eac1a3359edb44c998abc7f76d6f7ad985 (diff)
downloadsearxng-a697a1eaa56d05e3b95240cc2f6bd8954b378812.tar.gz
searxng-a697a1eaa56d05e3b95240cc2f6bd8954b378812.zip
oscar template: display answers
Diffstat (limited to 'searx/templates/oscar/results.html')
-rw-r--r--searx/templates/oscar/results.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/searx/templates/oscar/results.html b/searx/templates/oscar/results.html
index 0bf4914b4..deda276fa 100644
--- a/searx/templates/oscar/results.html
+++ b/searx/templates/oscar/results.html
@@ -6,6 +6,14 @@
<h1 class="sr-only">{{ _('Search results') }}</h1>
{% include 'oscar/search.html' %}
+ {% if answers %}
+ {% for answer in answers %}
+ <div class="result well">
+ <span>{{ answer }}</span>
+ </div>
+ {% endfor %}
+ {% endif %}
+
{% for result in results %}
<div class="result {% if result['template'] %}result-{{ result.template|replace('.html', '') }}{% else %}result-default{% endif %}">
{% set index = loop.index %}