diff options
author | Yoshiharu Yamashita <yoshiharuyamashita@users.noreply.github.com> | 2019-10-03 10:39:15 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-03 10:39:15 +0300 |
commit | 1ef96b0ef5b5d841eac7c8e0bdc13c06e32b1218 (patch) | |
tree | 12c0a776f681cccb0ce0632bcf581be1d4eeb303 /layouts | |
parent | 643be7f9157c9cb3c2c2f020ffab8725018c1b66 (diff) | |
parent | 123ebe8bb4fd3708fc51dab42613e6a3a7d37d4c (diff) |
Merge pull request #94 from recleev/patch-1
Remove .Data.Pages in favor of .Site.RegularPages
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html index 132386f..ef21430 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -6,7 +6,7 @@ </div> <div class="content"> - {{ range ( .Paginate (where .Data.Pages "Type" "post")).Pages }} + {{ range ( .Paginate (where .Site.RegularPages "Type" "post")).Pages }} {{ .Render "summary"}} {{ end }} |