Reverse the posts
This commit is contained in:
parent
23f59d9576
commit
02b39000ae
@ -25,7 +25,7 @@ layout: base.njk
|
||||
<h2>Recent Posts</h2>
|
||||
|
||||
<ul class="stack-2xs" role='list'>
|
||||
{% for post in collections.posts | take(3) %}
|
||||
{% for post in collections.posts | reverse | take(3) %}
|
||||
<li><a href="{{ post.url }}">{{ post.data.title | safe }}</a> <time datetime="{{ post.date }}">{{ post.date | dateDisplay }}</time></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
Loading…
Reference in New Issue
Block a user