diff options
Diffstat (limited to 'config/default.yaml')
-rw-r--r-- | config/default.yaml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/config/default.yaml b/config/default.yaml index 43c7f4a53..b9e382fa7 100644 --- a/config/default.yaml +++ b/config/default.yaml | |||
@@ -106,6 +106,12 @@ log: | |||
106 | trending: | 106 | trending: |
107 | videos: | 107 | videos: |
108 | interval_days: 7 # Compute trending videos for the last x days | 108 | interval_days: 7 # Compute trending videos for the last x days |
109 | algorithms: | ||
110 | enabled: | ||
111 | - 'hot' # adaptation of the Reddit 'Hot' algorithm | ||
112 | - 'most-viewed' # default, used initially by PeerTube as the trending page | ||
113 | - 'most-liked' | ||
114 | default: 'most-viewed' | ||
109 | 115 | ||
110 | # Cache remote videos on your server, to help other instances to broadcast the video | 116 | # Cache remote videos on your server, to help other instances to broadcast the video |
111 | # You can define multiple caches using different sizes/strategies | 117 | # You can define multiple caches using different sizes/strategies |
@@ -366,10 +372,6 @@ instance: | |||
366 | # - 18 # Food | 372 | # - 18 # Food |
367 | 373 | ||
368 | default_client_route: '/videos/trending' | 374 | default_client_route: '/videos/trending' |
369 | default_trending_route: '/videos/most-viewed' | ||
370 | pages: | ||
371 | hot: | ||
372 | enabled: true | ||
373 | 375 | ||
374 | # Whether or not the instance is dedicated to NSFW content | 376 | # Whether or not the instance is dedicated to NSFW content |
375 | # Enabling it will allow other administrators to know that you are mainly federating sensitive content | 377 | # Enabling it will allow other administrators to know that you are mainly federating sensitive content |