Skip to content

Commit

Permalink
Upgrade index.html to support changes from 0.57
Browse files Browse the repository at this point in the history
  • Loading branch information
kakawait committed Aug 15, 2019
1 parent 36538b8 commit 41272c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{{ if eq .Params.covermeta "out" }}hasCoverMetaOut{{ else }}hasCoverMetaIn{{ end }}
{{ with .Params.coverCaption }}hasCoverCaption{{ end }}">
<section class="postShorten-group main-content-wrap">
{{ $paginator := .Paginate (where .Data.Pages "Type" "post") }}
{{ $paginator := .Paginate (where .Site.RegularPages "Type" "post") }}
{{ range $paginator.Pages }}
{{ .Render "summary" }}
{{ end }}
Expand All @@ -18,4 +18,4 @@
{{ partial "footer.html" . }}
</div>
</div>
{{ partial "foot.html" . }}
{{ partial "foot.html" . }}

0 comments on commit 41272c4

Please sign in to comment.