fix RSS feed

This commit is contained in:
Set Hallstrom 2020-09-09 13:45:33 +02:00
parent 55385db8d8
commit 7a36a5744e
3 changed files with 4 additions and 4 deletions

View file

@ -41,9 +41,9 @@ title : The Basspistol 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>{% if post.link %}{{ post.link }}{% else %}{{ site.url }}{{ post.url }}{% endif %}</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 }} {% 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>
<category>Hi-Lights</category>
<author>{{ post.author | xml_escape }}</author>
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>