mirror of
https://github.com/searxng/searxng.git
synced 2025-08-20 10:46:47 +02:00
[enh] generate navigation for help pages
This commit is contained in:
parent
c53c295573
commit
14338e2c3b
3 changed files with 17 additions and 1 deletions
|
@ -889,7 +889,9 @@ def help_page(pagename):
|
|||
if page is None:
|
||||
flask.abort(404)
|
||||
|
||||
return render('help.html', page=user_help.PAGES[pagename])
|
||||
return render(
|
||||
'help.html', page=user_help.PAGES[pagename], all_pages=user_help.PAGES.items(), page_filename=pagename
|
||||
)
|
||||
|
||||
|
||||
@app.route('/autocompleter', methods=['GET', 'POST'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue