summaryrefslogtreecommitdiff
path: root/searx/templates/courgette/result_templates
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2015-01-01 19:52:05 +0100
committerAdam Tauber <asciimoo@gmail.com>2015-01-01 19:52:05 +0100
commite5a323b2883848b5eb26ca0c42d451eabb4dc183 (patch)
tree2268a4c26ba4f317efc5483473c7df23a4a1c6eb /searx/templates/courgette/result_templates
parent798bef77f9b43e713aeb9ac2938785538538a99c (diff)
downloadsearxng-e5a323b2883848b5eb26ca0c42d451eabb4dc183.tar.gz
searxng-e5a323b2883848b5eb26ca0c42d451eabb4dc183.zip
[fix] favicon paths
Diffstat (limited to 'searx/templates/courgette/result_templates')
-rw-r--r--searx/templates/courgette/result_templates/map.html2
-rw-r--r--searx/templates/courgette/result_templates/videos.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/searx/templates/courgette/result_templates/map.html b/searx/templates/courgette/result_templates/map.html
index b46f95e9f..4919954e0 100644
--- a/searx/templates/courgette/result_templates/map.html
+++ b/searx/templates/courgette/result_templates/map.html
@@ -1,7 +1,7 @@
<div class="result {{ result.class }}">
{% if "icon_"~result.engine~".ico" in favicons %}
- <img width="14" height="14" class="favicon" src="static/{{theme}}/img/icons/icon_{{result.engine}}.ico" alt="{{result.engine}}" />
+ <img width="14" height="14" class="favicon" src="{{ url_for('static', filename='img/icons/icon_'+result.engine+'.ico') }}" alt="{{result.engine}}" />
{% endif %}
<div>
diff --git a/searx/templates/courgette/result_templates/videos.html b/searx/templates/courgette/result_templates/videos.html
index 7b8bf6653..bb711caab 100644
--- a/searx/templates/courgette/result_templates/videos.html
+++ b/searx/templates/courgette/result_templates/videos.html
@@ -1,6 +1,6 @@
<div class="result">
{% if "icon_"~result.engine~".ico" in favicons %}
- <img width="14" height="14" class="favicon" src="static/{{theme}}/img/icons/icon_{{result.engine}}.ico" alt="{{result.engine}}" />
+ <img width="14" height="14" class="favicon" src="{{ url_for('static', filename='img/icons/icon_'+result.engine+'.ico') }}" alt="{{result.engine}}" />
{% endif %}
<h3 class="result_title"><a href="{{ result.url }}">{{ result.title|safe }}</a></h3>