commit e304c00b8cd0e6c637b4a9b434e100c0983e63a3
parent 2ccb65407ef3a26084d2dca717386b3d3f6ea9c5
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date: Fri, 10 Apr 2020 23:07:21 -0500
Adjust number of entries on list pages
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/layouts/partials/get_paginator.html b/layouts/partials/get_paginator.html
@@ -2,4 +2,4 @@
{{ if .IsHome }}
{{ $pages = (where .Site.RegularPages "Section" "!=" "") }}
{{ end }}
-{{ return .Paginate $pages.ByDate.Reverse 10 }}
+{{ return .Paginate $pages.ByDate.Reverse 8 }}