diff options
-rw-r--r-- | layouts/_default/list.html | 4 | ||||
-rw-r--r-- | layouts/index.html | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 0fcf803..684c16c 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -3,8 +3,8 @@ {{ partial "header" . }} {{ partial "nav" . }} <main class="container"> - {{ if .Pages }} - {{ range (.Paginate (.Pages.GroupByDate "2006")).PageGroups}} + {{ if .Site.RegularPages }} + {{ range (.Paginate (.Site.RegularPages.GroupByDate "2006")).PageGroups }} <h1 class="title is-3">{{ .Key }}</h1> {{ range where .Pages "Section" "posts" }} <article class="columns"> diff --git a/layouts/index.html b/layouts/index.html index 3319df1..d26ded6 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -2,8 +2,8 @@ {{ partial "header" . }} {{ partial "nav" . }} <main class="container"> - {{ if .Pages }} - {{ range (.Paginate (.Pages.GroupByDate "2006")).PageGroups}} + {{ if .Site.RegularPages }} + {{ range (.Paginate (.Site.RegularPages.GroupByDate "2006")).PageGroups}} <h1 class="title is-3">{{ .Key }}</h1> {{ range where .Pages "Section" "posts" }} <article class="columns"> |