posts should be ordere from newest to oldest

This commit is contained in:
Cheri 2024-08-16 16:12:30 +03:00
parent 81f5321656
commit 3061c4f491

View file

@ -1,9 +1,10 @@
<ul>
{% for post in listposts %}
{% for post in listposts | reverse %}
<li>
<strong><a href="{{ post.url | url }}"> {{ post.data.title }}</a></strong>
-
<time datetime="{{ post.date | htmlDateString}}">{{ post.date | readableDate}}</time>
<br><small>{{ post.data.description }}</small>
</li>
{% endfor %}
</ul>