summaryrefslogtreecommitdiff
path: root/searx/templates/oscar/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'searx/templates/oscar/base.html')
-rw-r--r--searx/templates/oscar/base.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/searx/templates/oscar/base.html b/searx/templates/oscar/base.html
index 42cd4e9a7..c39de0460 100644
--- a/searx/templates/oscar/base.html
+++ b/searx/templates/oscar/base.html
@@ -10,7 +10,11 @@
{% block meta %}{% endblock %}
<title>{% block title %}{% endblock %}searx</title>
- <link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap.min.css') }}" type="text/css" />
+ {% if bootstrap_theme == 'default' %}
+ <link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap.min.css') }}" type="text/css" />
+ {% else %}
+ <link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap.' + bootstrap_theme + '.min.css') }}" type="text/css" />
+ {% endif %}
<link rel="stylesheet" href="{{ url_for('static', filename='css/oscar.min.css') }}" type="text/css" />
<link rel="stylesheet" href="{{ url_for('static', filename='css/leaflet.min.css') }}" type="text/css" />