aboutsummaryrefslogtreecommitdiff
path: root/_layouts
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-08-01 07:42:36 -0300
committerEuAndreh <eu@euandre.org>2020-08-01 07:42:36 -0300
commit57d0fa66eb974faa9988062e3d00c623e05f1d46 (patch)
tree430128bd8a1b71022f410c57bf5a9d1256798f05 /_layouts
parentDon't reverse the order of posts in the posting list in index.html (diff)
downloadeuandre.org-57d0fa66eb974faa9988062e3d00c623e05f1d46.tar.gz
euandre.org-57d0fa66eb974faa9988062e3d00c623e05f1d46.tar.xz
Revert "Don't reverse the order of posts in the posting list in index.html"
This reverts commit 73dd41e059497af9722bf9082dfc7f6b50277b49.
Diffstat (limited to '_layouts')
-rw-r--r--_layouts/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/_layouts/index.html b/_layouts/index.html
index 037e0e3..0ec683d 100644
--- a/_layouts/index.html
+++ b/_layouts/index.html
@@ -2,7 +2,7 @@
layout: default
---
<h1>{{ site.t.recent_posts[page.lang] }}</h1>
-{% assign lposts=site.posts | where:"lang", page.lang | sort: 'date' %}
+{% assign lposts=site.posts | where:"lang", page.lang | sort: 'date' | reverse %}
{% if lposts.size > 0 %}
<ul>
{%- for post in lposts -%}