From 7fdfeca3a43e0e2bd8ef2dcb27cca7745edf596a Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Fri, 13 Jan 2017 22:15:11 +0100 Subject: [mod] add a __common__ template that can't be selected but that provides a common place for shared templates. What has been moved into this template : * opensearch*.xml is always the same whatever the themes. * the text inside */about.html --- searx/templates/__common__/opensearch.xml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 searx/templates/__common__/opensearch.xml (limited to 'searx/templates/__common__/opensearch.xml') diff --git a/searx/templates/__common__/opensearch.xml b/searx/templates/__common__/opensearch.xml new file mode 100644 index 000000000..15d3eb792 --- /dev/null +++ b/searx/templates/__common__/opensearch.xml @@ -0,0 +1,28 @@ + + + {{ instance_name }} + a privacy-respecting, hackable metasearch engine + UTF-8 + {{ urljoin(host, url_for('static', filename='img/favicon.png')) }} + searx metasearch + {% if opensearch_method == 'get' %} + + {% if autocomplete %} + + + + + {% endif %} + {% else %} + + + + {% if autocomplete %} + + + + + + {% endif %} + {% endif %} + -- cgit v1.2.3