Remove / in url_for parameter for simple theme
Same change as with the oscar theme.
commitd506d87f60662ece723bae04e930b6b1d8d1f2d0
authorHypolite Petovan <mrpetovan@gmail.com>
dateWed 18 Oct 2017, 23:45 (9 years ago)
parent904a8e7
searx/templates/simple/macros.html+1−1
@@ -9,7 +9,7 @@
99
1010<!-- Draw favicon -->
1111{% macro draw_favicon(favicon) -%}
12− <img width="14" height="14" class="favicon" src="{{ url_for('static', filename='/themes/simple/img/icons/' + favicon + '.png') }}" alt="{{ favicon }}" />
12+ <img width="14" height="14" class="favicon" src="{{ url_for('static', filename='themes/simple/img/icons/' + favicon + '.png') }}" alt="{{ favicon }}" />
1313{%- endmacro %}
1414
1515{% macro result_open_link(url, classes='') -%}