From 5a507e03b05d7154cc5ecc1e16f748b855ad08e3 Mon Sep 17 00:00:00 2001 From: Sakrecoer Date: Thu, 7 Dec 2023 13:53:21 +0100 Subject: [PATCH] fix reddundant key --- alink47.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/alink47.xml b/alink47.xml index 9f993b5..a57bb33 100644 --- a/alink47.xml +++ b/alink47.xml @@ -14,12 +14,12 @@ {{ site.url }}/alink47.xml {{ site.time | date_to_xmlschema }} - {% assign feed_items = site.feed_items | default: 10 %}{% for post in site.data.alink47.alink47 reversed %}{% assign sitetimexml = site.time | date: "%s" %}{% assign now = post.date | date: "%s" %}{% if now <= sitetimexml %} + {% assign feed_items = site.feed_items | default: 10 %}{% for item in site.data.alink47.alink47 reversed %}{% assign sitetimexml = site.time | date: "%s" %}{% assign now = item.date | date: "%s" %}{% if now <= sitetimexml %} - {{ post.name | xml_escape }} - {{ post.content | xml_escape }} - {{ post.date | date_to_xmlschema }} - {{ post.link }} + {{ item.name | xml_escape }} + {{ item.content | xml_escape }} + {{ item.date | date_to_xmlschema }} + {{ item.link }} {{ now }} {% endif %}{% endfor %}