diff options
author | Martin Fischer <martin@push-f.com> | 2021-12-22 15:51:26 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2022-01-03 07:01:49 +0100 |
commit | 8e9ad1ccc296c220d61f12926c94d98baa83e3ca (patch) | |
tree | 5ba40ba51b65c5fae48c4b008ebe85d0563b7466 /searx/settings.yml | |
parent | 02e9bdf7550b5f5545bd842b24b71680960dd7a7 (diff) | |
download | searxng-8e9ad1ccc296c220d61f12926c94d98baa83e3ca.tar.gz searxng-8e9ad1ccc296c220d61f12926c94d98baa83e3ca.zip |
[enh] introduce categories_as_tabs
Previously all categories were displayed as search engine tabs.
This commit changes that so that only the categories listed under
categories_as_tabs in settings.yml are displayed.
This lets us introduce more categories without cluttering up the UI.
Categories not displayed as tabs can still be searched with !bangs.
Diffstat (limited to 'searx/settings.yml')
-rw-r--r-- | searx/settings.yml | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/searx/settings.yml b/searx/settings.yml index 3227a5a55..18d047535 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -81,12 +81,6 @@ ui: simple_style: auto # Open result links in a new tab by default # results_on_new_tab: false - # categories_order : - # - general - # - files - # - map - # - it - # - science # Lock arbitrary settings on the preferences page. To find the ID of the user # setting you want to lock, check the ID of the form on the page "preferences". @@ -233,6 +227,18 @@ checker: result_container: - has_infobox +categories_as_tabs: + - general + - images + - videos + - news + - map + - music + - it + - science + - files + - social media + engines: - name: apk mirror engine: apkmirror |