diff options
author | Luc Didry <luc@didry.org> | 2015-07-09 23:05:45 +0200 |
---|---|---|
committer | Luc Didry <luc@didry.org> | 2015-07-09 23:05:45 +0200 |
commit | 57e618edf7a72cb65620e5664941fb11130d2145 (patch) | |
tree | 1e06abef6d356b091f9a7eee0533b966f5ff3342 | |
parent | a905e4e7db3f25564742f51e3c43a65db1fbc15e (diff) | |
download | searxng-57e618edf7a72cb65620e5664941fb11130d2145.tar.gz searxng-57e618edf7a72cb65620e5664941fb11130d2145.zip |
Add Image on opensearch
-rw-r--r-- | searx/templates/courgette/opensearch.xml | 1 | ||||
-rw-r--r-- | searx/templates/default/opensearch.xml | 1 | ||||
-rw-r--r-- | searx/templates/oscar/opensearch.xml | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/searx/templates/courgette/opensearch.xml b/searx/templates/courgette/opensearch.xml index f39283f99..ff9eac55b 100644 --- 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 index f39283f99..ff9eac55b 100644 --- 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 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}"/> |