diff options
| author | pw3t <romain@berthor.fr> | 2014-01-12 18:31:57 +0100 |
|---|---|---|
| committer | pw3t <romain@berthor.fr> | 2014-01-16 22:06:55 +0100 |
| commit | d43bd05582c189d8696d58e22c160399ed0b811d (patch) | |
| tree | f62b78c0dc2c7773856d61dbff14296dacf51183 /searx/webapp.py | |
| parent | a8ec7fe6a4ad86a8eea4aa6be441984bc5ef7e5a (diff) | |
[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
Diffstat (limited to 'searx/webapp.py')
| -rw-r--r-- | searx/webapp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/webapp.py b/searx/webapp.py index b26e868f5..43bef7db9 100644 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -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) |