Skip to content

Commit

Permalink
Update theme for hugo 0.57 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
natarajmb committed Aug 25, 2019
1 parent b89097a commit de01c10
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions layouts/_default/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down
4 changes: 2 additions & 2 deletions layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down

0 comments on commit de01c10

Please sign in to comment.