diff options
-rw-r--r-- | layouts/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/index.html b/layouts/index.html index d2ee350..eb06410 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -3,9 +3,9 @@ <main class="content" role="main"> <div class="archive"> - {{ range .Data.Pages.GroupByDate "2006" }} + {{ range (where .Site.Pages "Type" "post").GroupByDate "2006" }} <h2 class="archive-title">{{ .Key }}</h2> - {{ range where .Pages "Section" "post" }} + {{ range .Pages }} <article class="archive-item"> <a href="{{ .Permalink }}" class="archive-item-link">{{ .Title }}</a> <span class="archive-item-date"> |