commit: c706bea788d46bae8cb5cd71bc57abf71f1cb998
parent: c43476229b58f20dba62c0f623ae2dad96bc8525
Author: Adam Tauber <asciimoo@gmail.com>
Date: Tue, 25 Aug 2015 09:21:40 +0200
Merge pull request #385 from framasoft/opensearch-icon
Add Image on opensearch
Diffstat:
3 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/searx/templates/courgette/opensearch.xml b/searx/templates/courgette/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}"/>
diff --git a/searx/templates/default/opensearch.xml b/searx/templates/default/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}"/>
diff --git 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}"/>