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

github.com/AngeloStavrow/indigo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelo Stavrow <contact@angelostavrow.com>2019-08-27 15:41:53 +0300
committerAngelo Stavrow <contact@angelostavrow.com>2019-08-27 15:41:53 +0300
commita82434210e21fd502dd79304d6f0a30219065a31 (patch)
treeb979a395081ec5148ff439a0f200153cad8585bc /layouts/_default
parent75f84b4adc1c8ba8f2cb4f8497d9b06dbbfc4349 (diff)
Fixes breaking change in Hugo 0.57
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/list.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 0f1abe2..4af97c7 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -1,7 +1,7 @@
{{ partial "header.html" . }}
<h2>{{ .Title }}</h2>
<div id="content">
-{{ range $index, $page := (.Paginate (where .Data.Pages "Type" "post")).Pages }}
+{{ range $index, $page := (.Paginate (where .Site.RegularPages "Type" "post")).Pages }}
{{ if ne $index 0 }}
{{ end }}
{{ .Render "li" }}