broken RSS

This commit is contained in:
Set Hallstrom 2020-07-21 14:31:32 +02:00
parent f3fee65604
commit 35144affa0

View file

@ -41,9 +41,9 @@ title : Sakrecoer RSS Feed
{% for post in site.posts %}
<item>
<title>{{ post.title | xml_escape }}</title>
<link>{% if post.link != '' %}{{ post.link }}{% else %}{{ site.url }}{{ post.url }}{% endif %}</link>
<link>{{ site.url }}{{ post.url }}</link>
<guid isPermaLink="true">{{ site.url }}{{ post.url }}</guid>
<description> &lt;img src=&quot;{{ site.url }}{{ post.image }}&quot; /&gt; &lt;br /&gt;{{ post.description | truncate: 150 | xml_escape }} {% if post.link != '' %}&lt;br /&gt;Full article on: &lt;a href=&quot;{{ site.url }}{{ post.url }}&quot;&gt;{{ site.url }}{{ post.url }}&lt;/a&gt;{% endif %}</description>
<description> &lt;img src=&quot;{{ site.url }}{{ post.image }}&quot; /&gt; &lt;br /&gt;{{ post.description | truncate: 150 | xml_escape }}</description>
<category>Hi-Lights</category>
<author>{{ post.author | xml_escape }}</author>
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>