summaryrefslogtreecommitdiff
path: root/searx/templates/result_templates/default.html
diff options
context:
space:
mode:
Diffstat (limited to 'searx/templates/result_templates/default.html')
-rw-r--r--searx/templates/result_templates/default.html11
1 files changed, 10 insertions, 1 deletions
diff --git a/searx/templates/result_templates/default.html b/searx/templates/result_templates/default.html
index 48c0775ae..ab6d469b4 100644
--- a/searx/templates/result_templates/default.html
+++ b/searx/templates/result_templates/default.html
@@ -1,5 +1,14 @@
<div class="result {{ result.class }}">
- <h3 class="result_title"><a href="{{ result.url }}">{{ result.title|safe }}</a></h3>
+
+ {% if result['favicon'] %}
+ <div style="float:left; margin:2px;">
+ <img width="18" height="18" src="static/img/icon_{{result['favicon']}}.ico" alt="{{result['favicon']}}.ico" title="{{result['favicon']}}.ico" />
+ </div>
+ {% endif %}
+
+ <div>
+ <h3 class="result_title"><a href="{{ result.url }}">{{ result.title|safe }}</a></h3></br>
<p class="content">{% if result.content %}{{ result.content|safe }}<br />{% endif %}</p>
<p class="url">{{ result.pretty_url }}</p>
+ </div>
</div>