mirror of
https://github.com/searxng/searxng.git
synced 2025-08-03 10:32:21 +02:00
[ehn] add favicons for vimeo, soundcloud, twitter and youtube
This commit is contained in:
parent
fdb6fac214
commit
a8ec7fe6a4
8 changed files with 20 additions and 6 deletions
|
@ -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 %}
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue