diff options
author | Jonathan Rutheiser <jonathan.rutheiser@gmail.com> | 2017-03-21 19:05:06 +0300 |
---|---|---|
committer | Jonathan Rutheiser <jonathan.rutheiser@gmail.com> | 2017-03-21 19:05:06 +0300 |
commit | cb46b095347d85f749ae2a03ae7e4c9e1c3078f2 (patch) | |
tree | 8071ada55fee16ca69f22558aaddfdafbca95683 | |
parent | 88ae856cfa92c648c1a95b071285930c91acf80b (diff) |
Fix index template output of posts #11
-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 eb06410..6747e91 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -3,7 +3,7 @@ <main class="content" role="main"> <div class="archive"> - {{ range (where .Site.Pages "Type" "post").GroupByDate "2006" }} + {{ range (where .Data.Pages "Type" "post").GroupByDate "2006" }} <h2 class="archive-title">{{ .Key }}</h2> {{ range .Pages }} <article class="archive-item"> |