diff options
author | Jose Valecillos <valecillosjg@gmail.com> | 2019-08-16 18:32:03 +0300 |
---|---|---|
committer | Jose Valecillos <valecillosjg@gmail.com> | 2019-08-16 21:35:36 +0300 |
commit | 1c50bcc7ec7f0c6d23cb8194d42ede364c48eb99 (patch) | |
tree | f073d8751e6e08240d2844956ac2d181abc4bb95 | |
parent | 4e155a4bf1b5efe9fa8cdf77f02c7d05af9591ca (diff) |
Adjusted post list for Hugo v0.57.0
-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 c500765..003f4d9 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -4,7 +4,7 @@ {{ define "content" }} <div class="post-list"> - {{ $paginator := .Paginate (where .Data.Pages "Type" "posts") }} + {{ $paginator := .Paginate (where .Site.RegularPages "Type" "posts") }} {{ range $paginator.Pages }} {{ if .Draft }} {{ .Scratch.Set "draftPage" true }} |