aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/index.html
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2019-11-02 14:53:58 +0100
committerDennis Eriksen <d@ennis.no>2019-11-02 14:53:58 +0100
commit3b5b06c0ba2d4aa9a1ec5049f9aae1f04f140798 (patch)
tree769bfd92bd0b5a7bf704b3f7fe49b5fa641fc575 /layouts/index.html
parentupdating styles (diff)
downloadriker-3b5b06c0ba2d4aa9a1ec5049f9aae1f04f140798.tar.gz
.Data.Pages gets deprecated in 0.58
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 9c9fadc..afce814 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -9,7 +9,7 @@
<div class="archive">
<h2>Archive</h2>
- {{ range (where .Data.Pages "Type" "post").GroupByDate "2006" }}
+ {{ range (where .Site.RegularPages "Type" "post").GroupByDate "2006" }}
<h3 class="archive-title">{{ .Key }}</h3>
{{ range .Pages }}
<article class="list-item">