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

github.com/Y4er/hugo-theme-easybook.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorY4er <45418382@qq.com>2019-10-09 14:01:17 +0300
committerY4er <45418382@qq.com>2019-10-09 14:01:17 +0300
commit8f4e29752d7830f40a94253d0213dd358ea0bd2c (patch)
tree96aff487fe722f3c139d00c6f2941ceb540a0aaa
parent109f36a34a1b10e1b0705f0e26a8fa9da69b2f57 (diff)
fix(index.html): .Site.RegularPages
-rw-r--r--layouts/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html
index cc19c44..00c27be 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -5,7 +5,7 @@
<h1 class="page-heading">Articles</h1>
{{/* content */}}
<ul class="post-list">
- {{ $paginator := .Paginate (where .Data.Pages "Section" "post") }}
+ {{ $paginator := .Paginate (where .Site.RegularPages "Type" "post") }}
<!--读取分页内容-->
{{ range $paginator.Pages }}
<li>