summaryrefslogtreecommitdiff
path: root/searx/templates/oscar
diff options
context:
space:
mode:
Diffstat (limited to 'searx/templates/oscar')
-rw-r--r--searx/templates/oscar/macros.html6
-rw-r--r--searx/templates/oscar/opensearch.xml1
2 files changed, 6 insertions, 1 deletions
diff --git a/searx/templates/oscar/macros.html b/searx/templates/oscar/macros.html
index 5866c132c..cf49ce81a 100644
--- a/searx/templates/oscar/macros.html
+++ b/searx/templates/oscar/macros.html
@@ -25,7 +25,11 @@
<!-- Draw result footer -->
{% macro result_footer(result) -%}
<div class="clearfix"></div>
- <span class="label label-default pull-right">{{ result.engine }}</span>
+ <div class="pull-right">
+ {% for engine in result.engines %}
+ <span class="label label-default">{{ engine }}</span>
+ {% endfor %}
+</div>
<p class="text-muted">{{ result.pretty_url }}</p>
{%- endmacro %}
diff --git a/searx/templates/oscar/opensearch.xml b/searx/templates/oscar/opensearch.xml
index f39283f99..ff9eac55b 100644
--- a/searx/templates/oscar/opensearch.xml
+++ b/searx/templates/oscar/opensearch.xml
@@ -3,6 +3,7 @@
<ShortName>searx</ShortName>
<Description>Search searx</Description>
<InputEncoding>UTF-8</InputEncoding>
+ <Image>{{ host }}{{ url_for('static', filename='img/favicon.png') | replace("/", "", 1) }}</Image>
<LongName>searx metasearch</LongName>
{% if opensearch_method == 'get' %}
<Url type="text/html" method="get" template="{{ host }}search?q={searchTerms}"/>