mirror of
https://github.com/searxng/searxng.git
synced 2025-12-23 20:20:05 +00:00
[ehn] Add a 'featured result feature'm putting on top of the reasults ddg definitions and wikipedia (ugly html / css)
[ehn] Add a templates for videos, so the thumbnails all have the same side
This commit is contained in:
@@ -141,7 +141,7 @@ def index():
|
||||
result['pretty_url'] = result['url']
|
||||
|
||||
for engine in result['engines']:
|
||||
if engine in ['wikipedia', 'youtube', 'vimeo', 'soundcloud', 'twitter']:
|
||||
if engine in ['wikipedia', 'youtube', 'vimeo', 'soundcloud', 'twitter', 'stackoverflow']:
|
||||
result['favicon'] = engine
|
||||
if engine in ['wikipedia', 'ddg definitions']:
|
||||
featured_results.append(result)
|
||||
|
||||
Reference in New Issue
Block a user