forked from Ponysearch/Ponysearch
Merge pull request #1486 from vojkovic/master
Add infinite scroll as a setting in settings.yml
This commit is contained in:
commit
641e39b0df
2 changed files with 6 additions and 0 deletions
|
@ -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*
|
||||
|
|
|
@ -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 ?
|
||||
|
|
Loading…
Reference in a new issue