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

@ -9,7 +9,7 @@ description: 'Music is not a number. Software versioning is. It''s time to bring
uid: 'newerabpist' uid: 'newerabpist'
image: '/assets/img/newera.jpg' image: '/assets/img/newera.jpg'
download: '' download: ''
link: '' link:
album: album:
check_this_if_cannot_be_bought: true check_this_if_cannot_be_bought: true
stores: stores:

View file

@ -11,7 +11,7 @@ layout:
uid: '' uid: ''
image: '' image: ''
download: '' download: ''
link: '' link:
check_this_if_cannot_be_bought: false check_this_if_cannot_be_bought: false
stores: stores:
- name: - name:

View file

@ -41,9 +41,9 @@ title : The Basspistol RSS Feed
{% for post in site.posts %} {% for post in site.posts %}
<item> <item>
<title>{{ post.title | xml_escape }}</title> <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> <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> <category>Hi-Lights</category>
<author>{{ post.author | xml_escape }}</author> <author>{{ post.author | xml_escape }}</author>
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate> <pubDate>{{ post.date | date_to_rfc822 }}</pubDate>