Merge pull request #1066 from MrPetovan/issue/fix-favicon-paths
[fix] Missing favicon images in oscar and simple themes
commitb34124fd8a6b020136ca9656acdb01afceabe96f
authorAdam Tauber <asciimoo@gmail.com>
dateThu 19 Oct 2017, 22:26 (9 years ago)
parentc8a66a0d506d87
searx/templates/oscar/macros.html+1−1
@@ -5,7 +5,7 @@
55
66<!-- Draw favicon -->
77{% macro draw_favicon(favicon) -%}
8− <img width="32" height="32" class="favicon" src="{{ url_for('static', filename='/themes/oscar/img/icons/' + favicon + '.png') }}" alt="{{ favicon }}" />
8+ <img width="32" height="32" class="favicon" src="{{ url_for('static', filename='themes/oscar/img/icons/' + favicon + '.png') }}" alt="{{ favicon }}" />
99{%- endmacro %}
1010
1111{%- macro result_link(url, title, classes='') -%}
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='') -%}