Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/htr3n/hyde-hyde.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Valecillos <valecillosjg@gmail.com>2019-08-16 18:32:03 +0300
committerJose Valecillos <valecillosjg@gmail.com>2019-08-16 21:35:36 +0300
commit1c50bcc7ec7f0c6d23cb8194d42ede364c48eb99 (patch)
treef073d8751e6e08240d2844956ac2d181abc4bb95
parent4e155a4bf1b5efe9fa8cdf77f02c7d05af9591ca (diff)
Adjusted post list for Hugo v0.57.0
-rw-r--r--layouts/index.html2
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 }}