[tor-commits] [tpo/master] Increase per_page in press to decrease pages built
emmapeel at torproject.org
emmapeel at torproject.org
Tue Aug 31 12:57:57 UTC 2021
commit 7dea5042353839f6e194305b2b75e45d81c71c99
Author: HackerNCoder <hackerncoder at encryptionin.space>
Date: Mon Aug 30 21:08:35 2021 +0000
Increase per_page in press to decrease pages built
---
models/press.ini | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/models/press.ini b/models/press.ini
index 0f30beaa..cd5e5546 100644
--- a/models/press.ini
+++ b/models/press.ini
@@ -34,5 +34,5 @@ slug_format = {{ ((this.pub_date) if this.pub_date) ~ "-" ~ this._id }}
[pagination]
enabled = yes
-per_page = 10
+per_page = 25
items = site.query('/press').include_undiscoverable(true).filter(F.type == "snippet")
More information about the tor-commits
mailing list