on master help sign in
[ehn] Add possibility to add icon in results (more ugly html / css, need fix)
9105768pw3t
searx/templates/result_templates/default.html+1−1
@@ -2,7 +2,7 @@
2
2
3 {% if result['favicon'] %}
3 {% if result['favicon'] %}
4 <div style="float:left; margin:2px;">
4 <div style="float:left; margin:2px;">
5− <img width="18" height="18" src="static/img/icon_{{result['favicon']}}.png" alt="{{result['favicon']}}.png" title="{{result['favicon']}}.png" />
5+ <img width="18" height="18" src="static/img/icon_{{result['favicon']}}.ico" alt="{{result['favicon']}}.ico" title="{{result['favicon']}}.ico" />
6 </div>
6 </div>
7 {% endif %}
7 {% endif %}
8
8