summaryrefslogtreecommitdiff
path: root/searx/templates/default/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'searx/templates/default/base.html')
-rw-r--r--searx/templates/default/base.html32
1 files changed, 32 insertions, 0 deletions
diff --git a/searx/templates/default/base.html b/searx/templates/default/base.html
new file mode 100644
index 000000000..da5ae905f
--- /dev/null
+++ b/searx/templates/default/base.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
+<head>
+ <meta charset="UTF-8" />
+ <meta name="description" content="Searx - a privacy-respecting, hackable metasearch engine" />
+ <meta name="keywords" content="searx, search, search engine, metasearch, meta search" />
+ <meta name="viewport" content="width=device-width, maximum-scale=1.0, user-scalable=1" />
+ <title>{% block title %}{% endblock %}searx</title>
+ <link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}" type="text/css" media="screen" />
+ <link rel="shortcut icon" href="{{ url_for('static', filename='img/favicon.png') }}?v=2" />
+ {% block styles %}
+ {% endblock %}
+ {% block head %}
+ <link title="searx" type="application/opensearchdescription+xml" rel="search" href="{{ url_for('opensearch') }}"/>
+ {% endblock %}
+ <script type="text/javascript">
+ searx = {};
+ searx.autocompleter = {% if autocomplete %}true{% else %}false{% endif %};
+ </script>
+</head>
+<body>
+<div id="container">
+{% block content %}
+{% endblock %}
+{% if autocomplete %}
+<script src="{{ url_for('static', filename='js/mootools-core-1.4.5-min.js') }}" ></script>
+<script src="{{ url_for('static', filename='js/mootools-autocompleter-1.1.2-min.js') }}" ></script>
+{% endif %}
+<script src="{{ url_for('static', filename='js/searx.js') }}" ></script>
+</div>
+</body>
+</html>