diff options
| author | asciimoo <asciimoo@gmail.com> | 2014-01-19 22:39:56 +0100 |
|---|---|---|
| committer | asciimoo <asciimoo@gmail.com> | 2014-01-19 22:39:56 +0100 |
| commit | bfdd6ebb9292f544736ed264a8d8ab04ca8d0296 (patch) | |
| tree | a0f0b92552219a46ccc4cd933fd41816144381ca /searx/templates/result_templates/default.html | |
| parent | dcbf17f57010b942a29b6a28555ec031eea5cf5b (diff) | |
| parent | 380b440a55ba3b8ec1430843226fa6b4b0dfe289 (diff) | |
Merge branch 'featured_result' of https://github.com/pw3t/searx
Diffstat (limited to 'searx/templates/result_templates/default.html')
| -rw-r--r-- | searx/templates/result_templates/default.html | 11 |
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> |