summaryrefslogtreecommitdiff
path: root/searx/templates/default/result_templates/map.html
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2014-12-24 20:34:54 +0100
committerAdam Tauber <asciimoo@gmail.com>2014-12-24 20:34:54 +0100
commitb4f39237a351d35b1b46dcbd33a4a1d94d313d07 (patch)
treec3ec0192d58fbd4e80b0be37af8825937d1bf339 /searx/templates/default/result_templates/map.html
parent5857141e498e80c1528ac13091ae374e807cbf75 (diff)
parentada01cb367fbb226397c0542ca30684581e38568 (diff)
Merge branch 'Cqoicebordel-Detect-favicons'
Diffstat (limited to 'searx/templates/default/result_templates/map.html')
-rw-r--r--searx/templates/default/result_templates/map.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/templates/default/result_templates/map.html b/searx/templates/default/result_templates/map.html
index dccec7a53..f9ba7dcf6 100644
--- a/searx/templates/default/result_templates/map.html
+++ b/searx/templates/default/result_templates/map.html
@@ -1,7 +1,7 @@
<div class="result {{ result.class }}">
- {% if result['favicon'] %}
- <img width="14" height="14" class="favicon" src="static/{{theme}}/img/icon_{{result['favicon']}}.ico" alt="{{result['favicon']}}" />
+ {% if "icon_"~result.engine~".ico" in favicons %}
+ <img width="14" height="14" class="favicon" src="static/{{theme}}/img/icon_{{result.engine}}.ico" alt="{{result.engine}}" />
{% endif %}
<div>