Browse Source

Remove / in url_for parameter for simple theme

Same change as with the oscar theme.
Hypolite Petovan 7 years ago
parent
commit
d506d87f60
1 changed files with 1 additions and 1 deletions
  1. 1 1
      searx/templates/simple/macros.html

+ 1 - 1
searx/templates/simple/macros.html

@@ -9,7 +9,7 @@
 
 <!-- Draw favicon -->
 {% macro draw_favicon(favicon) -%}
-    <img width="14" height="14" class="favicon" src="{{ url_for('static', filename='/themes/simple/img/icons/' + favicon + '.png') }}" alt="{{ favicon }}" />
+    <img width="14" height="14" class="favicon" src="{{ url_for('static', filename='themes/simple/img/icons/' + favicon + '.png') }}" alt="{{ favicon }}" />
 {%- endmacro %}
 
 {% macro result_open_link(url, classes='') -%}