forked from Icycoide/searxng
[enh] displaying shortcuts at engines page
This commit is contained in:
parent
af6e90009f
commit
48dc019b94
2 changed files with 5 additions and 2 deletions
|
@ -250,8 +250,9 @@ def list_engines():
|
|||
|
||||
List of all supported engines.
|
||||
"""
|
||||
global categories
|
||||
return render('engines.html', categs=categories.items())
|
||||
return render('engines.html',
|
||||
categs=categories.items(),
|
||||
shortcuts={y:x for x,y in engine_shortcuts.items()})
|
||||
|
||||
|
||||
@app.route('/preferences', methods=['GET', 'POST'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue