diff --git a/searx/templates/oscar/advanced.html b/searx/templates/oscar/advanced.html index 95d99ba6a..bf5f86324 100644 --- a/searx/templates/oscar/advanced.html +++ b/searx/templates/oscar/advanced.html @@ -1,16 +1,17 @@ - +{{- "" -}} - {{ _('Advanced settings') }} + {{- _('Advanced settings') -}} {% include 'oscar/categories.html' %} + - {% include 'oscar/time-range.html' %} + {%- include 'oscar/time-range.html' -%} - {% include 'oscar/languages.html' %} + {%- include 'oscar/languages.html' -%} diff --git a/searx/templates/oscar/base.html b/searx/templates/oscar/base.html index 321784ebb..66a9e6029 100644 --- a/searx/templates/oscar/base.html +++ b/searx/templates/oscar/base.html @@ -10,16 +10,17 @@ {% block meta %}{% endblock %} - {% block title %}{% endblock %}{{ instance_name }} + {% block title %}{% endblock %}{{ instance_name }} - {% if preferences.get_value('oscar-style') %} - - {% else %} - - {% endif %} + {% if preferences.get_value('oscar-style') -%} + {{' '}} + {%- else -%} + {{' '}} + {%- endif %} + - {% for css in styles %} + {%- for css in styles %} {% endfor %} @@ -48,6 +49,7 @@ {% include 'oscar/navbar.html' %} + {% if errors %} @@ -93,13 +95,14 @@ - {% if autocomplete %}{% endif %} + {% if autocomplete %} {% endif %} + {% for script in scripts %} - + {{""}} {% endfor %}