Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/curttimson/hugo-theme-massively.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCurtis Timson <curt@live.co.uk>2018-02-25 12:25:34 +0300
committerCurtis Timson <curt@live.co.uk>2018-02-25 12:25:34 +0300
commit0520d2da6c480a9a4ad575015eaaa8f8a7ffa382 (patch)
tree3a9661e643d65d02069ffff5a8b436cf73c00ef1 /layouts
parentb961981c79fa57b41272c497c51fd915a7ef02b6 (diff)
:wrench: :sparkles: Configure post page size
Diffstat (limited to 'layouts')
-rw-r--r--layouts/index.html2
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">