summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2022-11-29 21:39:18 +0100
committerBrian Picciano <mediocregopher@gmail.com>2022-11-29 21:39:18 +0100
commitceab45fefabe30d669472ac4f98fc50be5b4679b (patch)
tree903ca72cd4f0c7938c3d643ec09b8ca62f7df4ac
parentb4d6133626c89439cd951d75f81be22d4d5d2079 (diff)
Increase posts per page
-rw-r--r--src/http/posts.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/posts.go b/src/http/posts.go
index ec16e4b..0f8924a 100644
--- a/src/http/posts.go
+++ b/src/http/posts.go
@@ -127,7 +127,7 @@ func (a *api) getPostsHandler() http.Handler {
tpl := a.mustParseBasedTpl("posts.html")
getPostHandler := a.getPostHandler()
- const pageCount = 10
+ const pageCount = 20
return http.HandlerFunc(func(rw http.ResponseWriter, r *http.Request) {