From 38cfa275d2bc4683a1bd3b6dc11af3e6d9ec18e0 Mon Sep 17 00:00:00 2001 From: Zach Leatherman Date: Thu, 2 Jan 2020 21:50:31 -0600 Subject: [PATCH] Fix #47 --- _includes/postslist.njk | 2 +- index.njk | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/_includes/postslist.njk b/_includes/postslist.njk index b9517f4..d93750c 100644 --- a/_includes/postslist.njk +++ b/_includes/postslist.njk @@ -1,4 +1,4 @@ -
    +
      {% for post in postslist | reverse %}
    1. {% if post.data.title %}{{ post.data.title }}{% else %}{{ post.url }}{% endif %} diff --git a/index.njk b/index.njk index 69b53ab..4d89b88 100644 --- a/index.njk +++ b/index.njk @@ -8,6 +8,7 @@ eleventyNavigation:

      Latest 3 Posts

      {% set postslist = collections.posts | head(-3) %} +{% set counterOffset = collections.posts | length %} {% include "postslist.njk" %}

      More posts can be found in the archive.