diff options
author | Jonathan Rutheiser <jonathan.rutheiser@gmail.com> | 2017-03-21 19:09:38 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-21 19:09:38 +0300 |
commit | fd7d1adc54ab47a04e4dd712d9d31143c0017776 (patch) | |
tree | 8071ada55fee16ca69f22558aaddfdafbca95683 | |
parent | 88ae856cfa92c648c1a95b071285930c91acf80b (diff) | |
parent | cb46b095347d85f749ae2a03ae7e4c9e1c3078f2 (diff) |
Merge pull request #12 from jrutheiser/jrutheiser/fix-index-post-output
Fix index template output of posts
-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"> |