aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-02-17 02:08:20 -0300
committerEuAndreh <eu@euandre.org>2020-02-17 02:08:20 -0300
commit0508f1f74c2baf0a36c3837e2ae4faf63a131b71 (patch)
treeaee86947a064ac8381e03d9de0f4894cf56c8527
parentRemove TODOs.org (diff)
downloadeuandre.org-0508f1f74c2baf0a36c3837e2ae4faf63a131b71.tar.gz
euandre.org-0508f1f74c2baf0a36c3837e2ae4faf63a131b71.tar.xz
Sort posts by date in reverse
Diffstat (limited to '')
-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 -%}