diff options
author | Emiel Hollander <EmielH@users.noreply.github.com> | 2018-08-25 11:23:03 +0300 |
---|---|---|
committer | Emiel Hollander <EmielH@users.noreply.github.com> | 2018-08-25 11:23:03 +0300 |
commit | f569443641b15ac288e836a6d5ebe36465fa0141 (patch) | |
tree | 8ad69829544b23a9541098e0c0236dfa28696e6f /layouts | |
parent | 6132bd25e344d2ef0fdb5f896c9626538bc23131 (diff) |
Iterate over all pages instead of only pages of type post
Resolves #1
Diffstat (limited to 'layouts')
-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 edfc24e..94c114a 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -2,7 +2,7 @@ <main> <div class="catalogue"> - {{ range (.Paginate (where .Pages "Type" "post")).Pages }} + {{ range (.Paginate .Pages).Pages }} <a href="{{ .Permalink }}" class="catalogue-item"> <div> <time datetime="{{ .PublishDate }}" class="catalogue-time">{{ .PublishDate.Format "January 2, 2006" }}</time> |