diff --git a/_includes/postslist.njk b/_includes/postslist.njk index f6d6c0a..88882d9 100644 --- a/_includes/postslist.njk +++ b/_includes/postslist.njk @@ -1,4 +1,4 @@ -<ol class="postlist" style="counter-reset: start-from {{ postslist.length + 1 }}"> +<ol reversed class="postlist" style="counter-reset: start-from {{ postslist.length + 1 }}"> {% for post in postslist | reverse %} <li class="postlist-item{% if post.url == url %} postlist-item-active{% endif %}"> <a href="{{ post.url | url }}" class="postlist-link">{% if post.data.title %}{{ post.data.title }}{% else %}<code>{{ post.url }}</code>{% endif %}</a>