diff options
author | Nataraj Basappa <n5j.b5a@gmail.com> | 2019-08-26 01:42:31 +0300 |
---|---|---|
committer | Nataraj Basappa <n5j.b5a@gmail.com> | 2019-08-26 01:42:31 +0300 |
commit | de01c10106ce02052da2e02c5de9169f4bce62a1 (patch) | |
tree | 5ff54a507e6d8c3d28fd7fdd1105ebefd4f1f4c0 | |
parent | b89097af4df2fafda854b6b02dbe4916e0b0fbe1 (diff) |
Update theme for hugo 0.57 changes
-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"> |