on master help sign in
Add Image on opensearch
commit57e618edf7a72cb65620e5664941fb11130d2145 authorLuc Didry <luc@didry.org> dateThu 9 Jul 2015, 23:05 (11 years ago) parenta905e4e
3 files changed+3
searx/templates/courgette/opensearch.xml+1 searx/templates/default/opensearch.xml+1 searx/templates/oscar/opensearch.xml+1
searx/templates/courgette/opensearch.xml+1
@@ -3,6 +3,7 @@
33 <ShortName>searx</ShortName>
44 <Description>Search searx</Description>
55 <InputEncoding>UTF-8</InputEncoding>
6+ <Image>{{ host }}{{ url_for('static', filename='img/favicon.png') | replace("/", "", 1) }}</Image>
67 <LongName>searx metasearch</LongName>
78 {% if opensearch_method == 'get' %}
89 <Url type="text/html" method="get" template="{{ host }}search?q={searchTerms}"/>
searx/templates/default/opensearch.xml+1
@@ -3,6 +3,7 @@
33 <ShortName>searx</ShortName>
44 <Description>Search searx</Description>
55 <InputEncoding>UTF-8</InputEncoding>
6+ <Image>{{ host }}{{ url_for('static', filename='img/favicon.png') | replace("/", "", 1) }}</Image>
67 <LongName>searx metasearch</LongName>
78 {% if opensearch_method == 'get' %}
89 <Url type="text/html" method="get" template="{{ host }}search?q={searchTerms}"/>
searx/templates/oscar/opensearch.xml+1
@@ -3,6 +3,7 @@
33 <ShortName>searx</ShortName>
44 <Description>Search searx</Description>
55 <InputEncoding>UTF-8</InputEncoding>
6+ <Image>{{ host }}{{ url_for('static', filename='img/favicon.png') | replace("/", "", 1) }}</Image>
67 <LongName>searx metasearch</LongName>
78 {% if opensearch_method == 'get' %}
89 <Url type="text/html" method="get" template="{{ host }}search?q={searchTerms}"/>