diff options
author | Brian Picciano <mediocregopher@gmail.com> | 2022-11-29 21:39:18 +0100 |
---|---|---|
committer | Brian Picciano <mediocregopher@gmail.com> | 2022-11-29 21:39:18 +0100 |
commit | ceab45fefabe30d669472ac4f98fc50be5b4679b (patch) | |
tree | 903ca72cd4f0c7938c3d643ec09b8ca62f7df4ac | |
parent | b4d6133626c89439cd951d75f81be22d4d5d2079 (diff) |
Increase posts per page
-rw-r--r-- | src/http/posts.go | 2 |
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) { |