Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
Fixed the Demos with empty homepage and/or wrong posts list in Hugo 0.57.1
  • Loading branch information
guangmean committed Aug 17, 2019
1 parent 16250ed commit cc55110
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ <h1><a href="/">{{.Title}}</a></h1>
</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 }}">&#10132; {{ .Title }}</a></h3>
<div class="less">
Expand Down

0 comments on commit cc55110

Please # to comment.