Refactored latest posts and with a correct sort. Uses dates on posts rather than file creation dates (unreliable).

This commit is contained in:
Zach Leatherman
2018-09-30 00:09:09 -05:00
parent e2028fd551
commit 2402ba4887
7 changed files with 16 additions and 8 deletions

View File

@@ -3,10 +3,10 @@ layout: layouts/home.njk
tags:
- nav
navtitle: Archive
permalink: posts/index.html
permalink: /posts/
---
<h1>Blog post archive</h1>
<h1>Archive</h1>
{% set postslist = collections.posts %}
{% include "postslist.njk" %}