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

github.com/yoshiharuyamashita/blackburn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoshiharu Yamashita <yoshiharuyamashita@users.noreply.github.com>2019-10-03 10:39:15 +0300
committerGitHub <noreply@github.com>2019-10-03 10:39:15 +0300
commit1ef96b0ef5b5d841eac7c8e0bdc13c06e32b1218 (patch)
tree12c0a776f681cccb0ce0632bcf581be1d4eeb303
parent643be7f9157c9cb3c2c2f020ffab8725018c1b66 (diff)
parent123ebe8bb4fd3708fc51dab42613e6a3a7d37d4c (diff)
Merge pull request #94 from recleev/patch-1
Remove .Data.Pages in favor of .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 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 }}