feature: add pagination on comments

Fixes: #354

Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>
This commit is contained in:
Leonidas Spyropoulos 2022-08-02 20:27:47 +03:00
parent 1d6335363c
commit 2c080b2ea9
No known key found for this signature in database
GPG key ID: 59E43E106B247368
3 changed files with 22 additions and 2 deletions

View file

@ -6,6 +6,9 @@ O = 0
# Default [P]er [P]age
PP = 50
# Default Comments Per Page
COMMENTS_PER_PAGE = 10
# A whitelist of valid PP values
PP_WHITELIST = {50, 100, 250}