diff options
author | Martin Fischer <martin@push-f.com> | 2022-01-31 12:42:04 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2022-02-01 06:29:22 +0100 |
commit | 14338e2c3b796b9dfb74430751d75067018a70fd (patch) | |
tree | b2cf32f5c9269e3c16ce56372a9d5fc22838a257 /searx/webapp.py | |
parent | c53c295573d6261be682cc506eefd5d8f0c04e07 (diff) | |
download | searxng-14338e2c3b796b9dfb74430751d75067018a70fd.tar.gz searxng-14338e2c3b796b9dfb74430751d75067018a70fd.zip |
[enh] generate navigation for help pages
Diffstat (limited to 'searx/webapp.py')
-rwxr-xr-x | searx/webapp.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/searx/webapp.py b/searx/webapp.py index bd296cddc..5e05f9781 100755 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -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']) |