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

github.com/jrutheiser/hugo-lithium-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Rutheiser <jonathan.rutheiser@gmail.com>2017-03-21 19:09:38 +0300
committerGitHub <noreply@github.com>2017-03-21 19:09:38 +0300
commitfd7d1adc54ab47a04e4dd712d9d31143c0017776 (patch)
tree8071ada55fee16ca69f22558aaddfdafbca95683
parent88ae856cfa92c648c1a95b071285930c91acf80b (diff)
parentcb46b095347d85f749ae2a03ae7e4c9e1c3078f2 (diff)
Merge pull request #12 from jrutheiser/jrutheiser/fix-index-post-output
Fix index template output of posts
-rw-r--r--layouts/index.html2
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">