fix broken key

This commit is contained in:
Sakrecoer 2023-12-07 14:21:59 +01:00
parent 9e57bb6635
commit 5579a70f81

View file

@ -7,19 +7,20 @@
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
>
<channel>
<title>LinkPistol</title>
<description>Blasting out the good stuff, one link at the time</description>
<title>{{ site.title | xml_escape }}</title>
<description>{% if site.description %}{{ site.description | xml_escape }}{% endif %}</description>
<sy:updatePeriod>{{ site.feed_update_period | default: "daily" | xml_escape }}</sy:updatePeriod>
<sy:updateFrequency>6</sy:updateFrequency>
<link>{{ site.url }}/alink47.xml</link>
<sy:updateFrequency>{{ site.feed_update_frequency | default: 1 | xml_escape }}</sy:updateFrequency>
<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 item in site.data.alink47.alink47 reversed %}{% assign sitetimexml = site.time | date: "%s" %}{% assign now = item.date | date: "%s" %}{% if now <= sitetimexml %}
{% assign sections_sorted = site.data.alink47.alink-47 | sort: 'date' %}{% for post in sections_sorted reversed %}{% assign sitetimexml = site.time | date: "%s" %}{% assign now = post.date | date: "%s" %}{% if now <= sitetimexml %}
<item>
<title>{{ item.name | xml_escape }}</title>
<description>{{ item.content | xml_escape }}</description>
<pubDate>{{ item.date | date_to_xmlschema }}</pubDate>
<link>{{ item.link }}</link>
<title>{{ post.name | xml_escape }}</title>
{% if post.author.name %}<dc:creator>{{ post.author.name | xml_escape }}</dc:creator>{% endif %}
{% if post.excerpt %}<description>{{ post.excerpt | xml_escape }}</description>{% else %}<description>{{ post.content | xml_escape }}</description>{% endif %}
<pubDate>{{ post.date | date_to_xmlschema }}</pubDate>
<link>{{ post.link | xml_escape }}</link>
<guid isPermaLink="false">{{ now }}</guid>
</item>{% endif %}{% endfor %}
</channel>