Increase posts per page

This commit is contained in:
Brian Picciano 2022-11-29 21:39:18 +01:00
parent b4d6133626
commit ceab45fefa

View File

@ -127,7 +127,7 @@ func (a *api) getPostsHandler() http.Handler {
tpl := a.mustParseBasedTpl("posts.html") tpl := a.mustParseBasedTpl("posts.html")
getPostHandler := a.getPostHandler() getPostHandler := a.getPostHandler()
const pageCount = 10 const pageCount = 20
return http.HandlerFunc(func(rw http.ResponseWriter, r *http.Request) { return http.HandlerFunc(func(rw http.ResponseWriter, r *http.Request) {