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