Increase posts per page
This commit is contained in:
parent
b4d6133626
commit
ceab45fefa
@ -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) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user