commit: b34124fd8a6b020136ca9656acdb01afceabe96f
parent: c8a66a090a7bde3c8003b9dc6cb1d13359b5d667
Author: Adam Tauber <asciimoo@gmail.com>
Date: Thu, 19 Oct 2017 22:26:31 +0200
Merge pull request #1066 from MrPetovan/issue/fix-favicon-paths
[fix] Missing favicon images in oscar and simple themes
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/searx/templates/oscar/macros.html b/searx/templates/oscar/macros.html
@@ -5,7 +5,7 @@
<!-- Draw favicon -->
{% macro draw_favicon(favicon) -%}
- <img width="32" height="32" class="favicon" src="{{ url_for('static', filename='/themes/oscar/img/icons/' + favicon + '.png') }}" alt="{{ favicon }}" />
+ <img width="32" height="32" class="favicon" src="{{ url_for('static', filename='themes/oscar/img/icons/' + favicon + '.png') }}" alt="{{ favicon }}" />
{%- endmacro %}
{%- macro result_link(url, title, classes='') -%}
diff --git a/searx/templates/simple/macros.html b/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='') -%}