diff options
author | Adam Carpenter <53hornet@gmail.com> | 2019-05-04 11:28:24 -0400 |
---|---|---|
committer | Adam Carpenter <53hornet@gmail.com> | 2019-05-04 11:28:24 -0400 |
commit | 37a224065d3dc16e9ac73884f4d297f88d599f29 (patch) | |
tree | ce21db592daca388bf668dc6055d341903131423 /_includes/post-list.liquid | |
parent | 689e85e78c106cefb6c83bcdbeae565d021d2e96 (diff) | |
download | cobalt-site-37a224065d3dc16e9ac73884f4d297f88d599f29.tar.xz cobalt-site-37a224065d3dc16e9ac73884f4d297f88d599f29.zip |
Posts on journal page are chronological, with most recent at the top.
Diffstat (limited to '_includes/post-list.liquid')
-rw-r--r-- | _includes/post-list.liquid | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/_includes/post-list.liquid b/_includes/post-list.liquid index 7f6d55d..e62fd63 100644 --- a/_includes/post-list.liquid +++ b/_includes/post-list.liquid @@ -1,5 +1,6 @@ <div class="columns is-centered is-multiline"> - {% for post in collections.posts.pages %} + {% assign posts = collections.posts.pages | reverse %} + {% for post in posts %} <div class="column is-full"> <div class="card"> <header class="card-header"> |