fix broken RSS

This commit is contained in:
Set Hallstrom 2020-10-23 16:45:54 +02:00
parent 47f6a18608
commit 935fba0619

View file

@ -38,7 +38,7 @@ title : The Basspistol RSS Feed
{% for post in site.posts limit: 7 %} {% for post in site.posts limit: 7 %}
<item> <item>
<title>{{ post.title | xml_escape }}</title> <title>{{ post.title | xml_escape }}</title>
<link>{% if post.link %}{{ post.link }}?utm_source=RSS&amp;utm_medium=RSS&amp;utm_campaign={{ post.title | replace: ',','-' | replace: ' ', '-' | xml_escape }}{% else %}{{ site.url }}{{ post.url }}?utm_source=RSS&amp;utm_medium=RSS&amp;utm_campaign={{ post.title | replace: ',','-' | replace: ' ', '-' | xml_escape }}{% endif %}</link> <link>{% if post.link.url %}{{ post.link.url }}?pk_campaign=rss{% else %}{{ site.url }}{{ post.url }}?pk_campaign=rss{% 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>