diff --git a/source/_pages/blog.html.twig b/source/_pages/blog.html.twig index daf5f551..08a4c0fa 100644 --- a/source/_pages/blog.html.twig +++ b/source/_pages/blog.html.twig @@ -9,7 +9,7 @@ intro_text: |
- {% for post in data.posts|sort((a, b) => a.date < b.date) %} + {% for post in data.posts|sort((a, b) => b.date <=> a.date) %} {% include 'post/post-teaser' with { post } only %} {% endfor %}