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

github.com/damiencaselli/hugo-journal.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordashdashzako <d@dashdashzako.net>2019-09-02 15:13:05 +0300
committerdashdashzako <d@dashdashzako.net>2019-09-02 15:13:05 +0300
commitca512b95ccd3507073a271791d9e34f38b0c7843 (patch)
treeb5169aa1e709b05ba97ef895326d19746ec04aba
parentb4e1e41db0381fcda470628ea7db7214724f6ce2 (diff)
Use 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 d453580..9f37dee 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -2,7 +2,7 @@
<article class="posts">
- {{ range (where .Data.Pages "Type" "post").GroupByDate "2006" -}}
+ {{ range (where site.RegularPages).GroupByDate "2006" -}}
<section>
<h2>{{ .Key }}</h2>