on master help sign in
Merge pull request #385 from framasoft/opensearch-icon
c706beaAdam Tauber
searx/templates/courgette/opensearch.xml+1
@@ -3,6 +3,7 @@
3 <ShortName>searx</ShortName>
3 <ShortName>searx</ShortName>
4 <Description>Search searx</Description>
4 <Description>Search searx</Description>
5 <InputEncoding>UTF-8</InputEncoding>
5 <InputEncoding>UTF-8</InputEncoding>
6+ <Image>{{ host }}{{ url_for('static', filename='img/favicon.png') | replace("/", "", 1) }}</Image>
6 <LongName>searx metasearch</LongName>
7 <LongName>searx metasearch</LongName>
7 {% if opensearch_method == 'get' %}
8 {% if opensearch_method == 'get' %}
8 <Url type="text/html" method="get" template="{{ host }}search?q={searchTerms}"/>
9 <Url type="text/html" method="get" template="{{ host }}search?q={searchTerms}"/>
searx/templates/default/opensearch.xml+1
@@ -3,6 +3,7 @@
3 <ShortName>searx</ShortName>
3 <ShortName>searx</ShortName>
4 <Description>Search searx</Description>
4 <Description>Search searx</Description>
5 <InputEncoding>UTF-8</InputEncoding>
5 <InputEncoding>UTF-8</InputEncoding>
6+ <Image>{{ host }}{{ url_for('static', filename='img/favicon.png') | replace("/", "", 1) }}</Image>
6 <LongName>searx metasearch</LongName>
7 <LongName>searx metasearch</LongName>
7 {% if opensearch_method == 'get' %}
8 {% if opensearch_method == 'get' %}
8 <Url type="text/html" method="get" template="{{ host }}search?q={searchTerms}"/>
9 <Url type="text/html" method="get" template="{{ host }}search?q={searchTerms}"/>
searx/templates/oscar/opensearch.xml+1
@@ -3,6 +3,7 @@
3 <ShortName>searx</ShortName>
3 <ShortName>searx</ShortName>
4 <Description>Search searx</Description>
4 <Description>Search searx</Description>
5 <InputEncoding>UTF-8</InputEncoding>
5 <InputEncoding>UTF-8</InputEncoding>
6+ <Image>{{ host }}{{ url_for('static', filename='img/favicon.png') | replace("/", "", 1) }}</Image>
6 <LongName>searx metasearch</LongName>
7 <LongName>searx metasearch</LongName>
7 {% if opensearch_method == 'get' %}
8 {% if opensearch_method == 'get' %}
8 <Url type="text/html" method="get" template="{{ host }}search?q={searchTerms}"/>
9 <Url type="text/html" method="get" template="{{ host }}search?q={searchTerms}"/>