From 7c4ad562c3275450ac6e1b70ba41a5dfb078b01d Mon Sep 17 00:00:00 2001 From: Sakrecoer Date: Thu, 7 Dec 2023 14:00:47 +0100 Subject: [PATCH] fix order --- wim.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wim.xml b/wim.xml index 2f5e0e8..75f9192 100644 --- a/wim.xml +++ b/wim.xml @@ -14,7 +14,7 @@ {{ site.url }}/wim.xml {{ site.time | date_to_xmlschema }} - {% assign feed_items = site.feed_items | default: 10 %}{% for post in site.data.wim.wim reversed limit:10 %}{% assign sitetimexml = site.time | date: "%s" %}{% assign now = post.date | date: "%s" %}{% if now <= sitetimexml %} + {% assign feed_items = site.feed_items | default: 10 %}{% for post in site.data.wim.wim limit:10 %}{% assign sitetimexml = site.time | date: "%s" %}{% assign now = post.date | date: "%s" %}{% if now <= sitetimexml %} {{ post.name | xml_escape }} {% if post.author.name %}{{ post.author.name | xml_escape }}{% endif %}