|
@@ -9,17 +9,20 @@
|
9
|
9
|
<meta name="viewport" content="width=device-width, initial-scale=1 , maximum-scale=1.0, user-scalable=1" />
|
10
|
10
|
{% block meta %}{% endblock %}
|
11
|
11
|
<title>{% block title %}{% endblock %}searx</title>
|
12
|
|
-
|
|
12
|
+
|
13
|
13
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap.min.css') }}" type="text/css" />
|
14
|
|
- <link rel="stylesheet" href="{{ url_for('static', filename='css/oscar.min.css') }}" type="text/css" />
|
|
14
|
+ <link rel="stylesheet" href="{{ url_for('static', filename='css/oscar.min.css') }}" type="text/css" />
|
15
|
15
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/leaflet.min.css') }}" type="text/css" />
|
|
16
|
+ {% for css in styles %}
|
|
17
|
+ <link rel="stylesheet" href="{{ url_for('static', filename=css) }}" type="text/css" />
|
|
18
|
+ {% endfor %}
|
16
|
19
|
|
17
|
20
|
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
18
|
21
|
<!--[if lt IE 9]>
|
19
|
22
|
<script src="{{ url_for('static', filename='js/html5shiv.min.js') }}"></script>
|
20
|
23
|
<script src="{{ url_for('static', filename='js/respond.min.js') }}"></script>
|
21
|
24
|
<![endif]-->
|
22
|
|
-
|
|
25
|
+
|
23
|
26
|
<link rel="shortcut icon" href="{{ url_for('static', filename='img/favicon.png') }}" />
|
24
|
27
|
|
25
|
28
|
{% block styles %}
|
|
@@ -28,7 +31,7 @@
|
28
|
31
|
{% endblock %}
|
29
|
32
|
|
30
|
33
|
<link title="searx" type="application/opensearchdescription+xml" rel="search" href="{{ url_for('opensearch') }}"/>
|
31
|
|
-
|
|
34
|
+
|
32
|
35
|
<script type="text/javascript">
|
33
|
36
|
searx = {};
|
34
|
37
|
searx.method = "{{ method or 'POST' }}";
|
|
@@ -79,5 +82,8 @@
|
79
|
82
|
{% if autocomplete %}<script src="{{ url_for('static', filename='js/typeahead.bundle.min.js') }}"></script>{% endif %}
|
80
|
83
|
<script src="{{ url_for('static', filename='js/require-2.1.15.min.js') }}"></script>
|
81
|
84
|
<script src="{{ url_for('static', filename='js/searx.min.js') }}"></script>
|
|
85
|
+ {% for script in scripts %}
|
|
86
|
+ <script src="{{ url_for('static', filename=script) }}"></script>
|
|
87
|
+ {% endfor %}
|
82
|
88
|
</body>
|
83
|
89
|
</html>
|