fix order

This commit is contained in:
Sakrecoer 2023-12-07 14:00:47 +01:00
parent 49c64fe2dc
commit 7c4ad562c3
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@
<link>{{ site.url }}/wim.xml</link>
<atom:link href="{{ site.url }}/{{ page.path }}" rel="self" type="application/rss+xml" />
<lastBuildDate>{{ site.time | date_to_xmlschema }}</lastBuildDate>
{% 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 %}
<item>
<title>{{ post.name | xml_escape }}</title>
{% if post.author.name %}<dc:creator>{{ post.author.name | xml_escape }}</dc:creator>{% endif %}