summaryrefslogtreecommitdiff
path: root/searx/templates/default/result_templates/map.html
diff options
context:
space:
mode:
authorCqoicebordel <Cqoicebordel@users.noreply.github.com>2014-12-18 16:26:32 +0100
committerCqoicebordel <Cqoicebordel@users.noreply.github.com>2014-12-18 16:26:32 +0100
commit83d6f366596829f2140f84c73b684bd7f783e93c (patch)
tree6172318ef3e9bdbb361551a4c64969e73b230265 /searx/templates/default/result_templates/map.html
parente71b665fd5d62ddc52fda3eca141547bb3540522 (diff)
downloadsearxng-83d6f366596829f2140f84c73b684bd7f783e93c.tar.gz
searxng-83d6f366596829f2140f84c73b684bd7f783e93c.zip
Final commit on favicons
Definitely remove engine array Change every themes to accomodate that change Tweak of video template of oscar to add link on video thumbnail
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 78221aa01..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" />
+ {% 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>