aboutsummaryrefslogtreecommitdiff
path: root/handle.go
diff options
context:
space:
mode:
Diffstat (limited to 'handle.go')
-rw-r--r--handle.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/handle.go b/handle.go
index 54ee085..631ec9c 100644
--- a/handle.go
+++ b/handle.go
@@ -13,7 +13,7 @@ func (app *application) home(w http.ResponseWriter, r *http.Request) {
app.notFound(w)
return
} else {
- p, err := app.loadPosts("html/projects", 3)
+ p, err := app.loadPosts("html/projects", -1)
if err != nil {
app.serverError(w, err)
return