diff options
author | guangmean <angularcorp@outlook.com> | 2019-08-17 04:34:08 +0300 |
---|---|---|
committer | guangmean <angularcorp@outlook.com> | 2019-08-17 04:34:08 +0300 |
commit | cc55110be275cb7ab6d0b19583afbb9a3433ad2a (patch) | |
tree | 055beaa3ad11e800045bb8d85fa413e4a2d1c69f | |
parent | 16250eddc7bcb7d326b404e39ed92bc26f598731 (diff) |
Update index.html
Fixed the Demos with empty homepage and/or wrong posts list in Hugo 0.57.1
-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 4d7f321..bf46c18 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -17,7 +17,7 @@ </div> {{ partial "nav.html" . }} <div> - {{ range (.Paginate ( first 100 .Pages.ByPublishDate.Reverse )).Pages }} + {{ range (.Paginate ( first 100 .Site.RegularPages.ByPublishDate.Reverse )).Pages }} <article> <h3><a href="{{ .RelPermalink }}">➔ {{ .Title }}</a></h3> <div class="less"> |