diff options
author | dashdashzako <d@dashdashzako.net> | 2019-09-02 15:13:05 +0300 |
---|---|---|
committer | dashdashzako <d@dashdashzako.net> | 2019-09-02 15:13:05 +0300 |
commit | ca512b95ccd3507073a271791d9e34f38b0c7843 (patch) | |
tree | b5169aa1e709b05ba97ef895326d19746ec04aba | |
parent | b4e1e41db0381fcda470628ea7db7214724f6ce2 (diff) |
Use site.RegularPages
-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 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> |