From f34ac58752b3857468d01c79d7bc3409e8b03fe3 Mon Sep 17 00:00:00 2001 From: Dalf Date: Tue, 6 Aug 2019 11:41:16 +0200 Subject: [mod] tidy oscar HTML output --- searx/templates/oscar/base.html | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'searx/templates/oscar/base.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 %} - {% if autocomplete %}{% endif %} + {% if autocomplete %} {% endif %} + {% for script in scripts %} - + {{""}} {% endfor %}