diff options
Diffstat (limited to 'searx/templates')
| -rw-r--r-- | searx/templates/result_templates/default.html | 2 | ||||
| -rw-r--r-- | searx/templates/result_templates/videos.html | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/searx/templates/result_templates/default.html b/searx/templates/result_templates/default.html index 3f2d0f360..14f527361 100644 --- a/searx/templates/result_templates/default.html +++ b/searx/templates/result_templates/default.html @@ -2,7 +2,7 @@ {% if result['favicon'] %} <div style="float:left; margin:2px;"> - <img width="24" height="24" src="static/img/icon_{{result['favicon']}}.png" alt="{{result['favicon']}}.png" title="{{result['favicon']}}.png" /> + <img width="18" height="18" src="static/img/icon_{{result['favicon']}}.png" alt="{{result['favicon']}}.png" title="{{result['favicon']}}.png" /> </div> {% endif %} diff --git a/searx/templates/result_templates/videos.html b/searx/templates/result_templates/videos.html index 97c966e43..524c99116 100644 --- a/searx/templates/result_templates/videos.html +++ b/searx/templates/result_templates/videos.html @@ -1,4 +1,12 @@ <div class="result"> + + {% if result['favicon'] %} + <div style="float:left; margin:2px;"> + <img width="18" height="18" src="static/img/icon_{{result['favicon']}}.png" alt="{{result['favicon']}}.png" title="{{result['favicon']}}.png" /> + </div> + {% endif %} + + <p> <h3 class="result_title"><a href="{{ result.url }}">{{ result.title|safe }}</a></h3> <a href="{{ result.url }}"><img width="300" height="170" src="{{ result.thumbnail }}" title={{ result.title }} alt=" {{ result.title }}"/></a> |