From 84e2a3bd3f7cf0dd305160224bc173cd02693c3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brock=20Vojkovi=C4=87?= Date: Sat, 9 Jul 2022 17:33:25 +0000 Subject: [PATCH] Add infinite scroll as a setting in settings.yml --- docs/admin/engines/settings.rst | 4 ++++ searx/settings.yml | 2 ++ 2 files changed, 6 insertions(+) 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 ?