mirror of
https://github.com/searxng/searxng.git
synced 2025-07-23 21:29:21 +02: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:
parent
a8ec7fe6a4
commit
d43bd05582
2 changed files with 2 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue