Merge pull request #1486 from vojkovic/master

Add infinite scroll as a setting in settings.yml
This commit is contained in:
Alexandre Flament 2022-07-09 21:18:56 +02:00 committed by GitHub
commit 641e39b0df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View file

@ -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*

View file

@ -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 ?