diff options
author | Brock Vojković <brockv@tuta.io> | 2022-07-09 17:33:25 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-09 17:33:25 +0000 |
commit | 84e2a3bd3f7cf0dd305160224bc173cd02693c3a (patch) | |
tree | c20b08cf9b727010da65c6b18fa08baa5ebf951e | |
parent | 7e695c664453547aa251d2431f3e8fe4d1c9b2b1 (diff) | |
download | searxng-84e2a3bd3f7cf0dd305160224bc173cd02693c3a.tar.gz searxng-84e2a3bd3f7cf0dd305160224bc173cd02693c3a.zip |
Add infinite scroll as a setting in settings.yml
-rw-r--r-- | docs/admin/engines/settings.rst | 4 | ||||
-rw-r--r-- | searx/settings.yml | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/docs/admin/engines/settings.rst b/docs/admin/engines/settings.rst index cd98c7af6..71ad29b43 100644 --- a/docs/admin/engines/settings.rst +++ b/docs/admin/engines/settings.rst @@ -230,6 +230,7 @@ Global Settings ui: default_locale: "" query_in_title: false + infinite_scroll: false center_alignment: false default_theme: simple theme_args: @@ -245,6 +246,9 @@ Global Settings When true, the result page's titles contains the query it decreases the privacy, since the browser can records the page titles. +``infinite_scroll``: + When true, automatically loads the next page when scrolling to bottom of the current page. + ``center_alignment`` : default ``false`` When enabled, the results are centered instead of being in the left (or RTL) side of the screen. This setting only affects the *desktop layout* diff --git a/searx/settings.yml b/searx/settings.yml index 7bbdda85e..63d6be3cd 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -89,6 +89,8 @@ ui: # query_in_title: When true, the result page's titles contains the query # it decreases the privacy, since the browser can records the page titles. query_in_title: false + # infinite_scroll: When true, automatically loads the next page when scrolling to bottom of the current page. + infinite_scroll: false # ui theme default_theme: simple # center the results ? |