diff options
author | Curtis Timson <curt@live.co.uk> | 2018-02-25 12:25:34 +0300 |
---|---|---|
committer | Curtis Timson <curt@live.co.uk> | 2018-02-25 12:25:34 +0300 |
commit | 0520d2da6c480a9a4ad575015eaaa8f8a7ffa382 (patch) | |
tree | 3a9661e643d65d02069ffff5a8b436cf73c00ef1 /layouts | |
parent | b961981c79fa57b41272c497c51fd915a7ef02b6 (diff) |
:wrench: :sparkles: Configure post page size
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html index 0503eed..c5dab20 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,7 +1,7 @@ {{ partial "htmlhead" . }} <body class="is-loading"> - {{ $posts := .Paginate (where .Data.Pages "Type" .Site.Params.Posts.foldername) 6 }} + {{ $posts := .Paginate (where .Data.Pages "Type" .Site.Params.Posts.foldername) .Site.Params.Posts.pagesize }} <!-- Wrapper --> <div id="wrapper" class="fade-in"> |