diff --git a/_includes/postslist.njk b/_includes/postslist.njk index d93750c..d081844 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 4d89b88..6d5df8b 100644 --- a/index.njk +++ b/index.njk @@ -8,7 +8,7 @@ eleventyNavigation:

      Latest 3 Posts

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

      More posts can be found in the archive.