From cc55110be275cb7ab6d0b19583afbb9a3433ad2a Mon Sep 17 00:00:00 2001 From: guangmean Date: Fri, 16 Aug 2019 18:34:08 -0700 Subject: Update index.html Fixed the Demos with empty homepage and/or wrong posts list in Hugo 0.57.1 --- layouts/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/index.html b/layouts/index.html index 4d7f321..bf46c18 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -17,7 +17,7 @@ {{ partial "nav.html" . }}
- {{ range (.Paginate ( first 100 .Pages.ByPublishDate.Reverse )).Pages }} + {{ range (.Paginate ( first 100 .Site.RegularPages.ByPublishDate.Reverse )).Pages }}