@@ -9,17 +9,20 @@
99 <meta name="viewport" content="width=device-width, initial-scale=1 , maximum-scale=1.0, user-scalable=1" />
1010 {% block meta %}{% endblock %}
1111 <title>{% block title %}{% endblock %}searx</title>
12−
12+
1313 <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" />
1515 <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 %}
1619
1720 <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
1821 <!--[if lt IE 9]>
1922 <script src="{{ url_for('static', filename='js/html5shiv.min.js') }}"></script>
2023 <script src="{{ url_for('static', filename='js/respond.min.js') }}"></script>
2124 <![endif]-->
22−
25+
2326 <link rel="shortcut icon" href="{{ url_for('static', filename='img/favicon.png') }}" />
2427
2528 {% block styles %}
@@ -28,7 +31,7 @@
2831 {% endblock %}
2932
3033 <link title="searx" type="application/opensearchdescription+xml" rel="search" href="{{ url_for('opensearch') }}"/>
31−
34+
3235 <script type="text/javascript">
3336 searx = {};
3437 searx.method = "{{ method or 'POST' }}";
@@ -79,5 +82,8 @@
7982 {% if autocomplete %}<script src="{{ url_for('static', filename='js/typeahead.bundle.min.js') }}"></script>{% endif %}
8083 <script src="{{ url_for('static', filename='js/require-2.1.15.min.js') }}"></script>
8184 <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 %}
8288</body>
8389</html>