diff options
author | EuAndreh <eu@euandre.org> | 2020-08-01 07:28:25 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2020-08-01 07:28:25 -0300 |
commit | 73dd41e059497af9722bf9082dfc7f6b50277b49 (patch) | |
tree | 6c88e8d09d0b5f00402ebf015af69daea1e26c2f /_layouts | |
parent | style.css: Make the border of code blocks more discrete (diff) | |
download | euandre.org-73dd41e059497af9722bf9082dfc7f6b50277b49.tar.gz euandre.org-73dd41e059497af9722bf9082dfc7f6b50277b49.tar.xz |
Don't reverse the order of posts in the posting list in index.html
I though that the reverse that was required, but it had the oposite effect.
Diffstat (limited to '_layouts')
-rw-r--r-- | _layouts/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_layouts/index.html b/_layouts/index.html index 0ec683d..037e0e3 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' | reverse %} +{% assign lposts=site.posts | where:"lang", page.lang | sort: 'date' %} {% if lposts.size > 0 %} <ul> {%- for post in lposts -%} |