Address changes introduced by hugo v0.57.0
see https://github.com/gohugoio/hugo/releases/tag/v0.57.0
This commit is contained in:
parent
07f765675d
commit
79abb2e4d6
@ -9,7 +9,7 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
<div class="posts-list">
|
<div class="posts-list">
|
||||||
{{ $pag := .Paginate (where .Data.Pages "Type" "post") }}
|
{{ $pag := .Paginate (where .Site.RegularPages "Type" "post") }}
|
||||||
{{ range $pag.Pages }}
|
{{ range $pag.Pages }}
|
||||||
<article class="post-preview">
|
<article class="post-preview">
|
||||||
<a href="{{ .Permalink }}">
|
<a href="{{ .Permalink }}">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user