~euandreh/website

73dd41e059497af9722bf9082dfc7f6b50277b49 — EuAndreh 10 days ago 88aa06f
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.
1 files changed, 1 insertions(+), 1 deletions(-)

M _layouts/index.html
M _layouts/index.html => _layouts/index.html +1 -1
@@ 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 -%}