Skip to content

Commit

Permalink
Fixed for Hugo 0.91.
Browse files Browse the repository at this point in the history
  • Loading branch information
manton authored Jan 25, 2022
1 parent b1496a4 commit c946fa2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/_default/list.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ define "main" }}
<div class="h-feed">

{{ $paginator := .Paginate (where .Data.Pages.ByDate.Reverse "Type" "post") (index .Site.Params "archive-paginate" | default 25) }}
{{ $paginator := .Paginate (where .Site.Pages.ByDate.Reverse "Type" "post") (index .Site.Params "archive-paginate" | default 25) }}
{{ range $paginator.Pages }}

<p class="h-entry">
Expand All @@ -19,4 +19,4 @@ <h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
{{ end }}

</div>
{{ end }}
{{ end }}

0 comments on commit c946fa2

Please sign in to comment.