fix broken RSS
This commit is contained in:
parent
47f6a18608
commit
935fba0619
2
rss.xml
2
rss.xml
|
@ -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&utm_medium=RSS&utm_campaign={{ post.title | replace: ',','-' | replace: ' ', '-' | xml_escape }}{% else %}{{ site.url }}{{ post.url }}?utm_source=RSS&utm_medium=RSS&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> <img src="{{ site.url }}{{ post.image }}" /> <br />{{ post.description | truncate: 150 | xml_escape }} {% if post.link %}<br />Full article on: <a href="{{ site.url }}{{ post.url }}">{{ site.url }}{{ post.url }}</a>{% endif %}</description>
|
<description> <img src="{{ site.url }}{{ post.image }}" /> <br />{{ post.description | truncate: 150 | xml_escape }} {% if post.link %}<br />Full article on: <a href="{{ site.url }}{{ post.url }}">{{ site.url }}{{ post.url }}</a>{% endif %}</description>
|
||||||
<category>Hi-Lights</category>
|
<category>Hi-Lights</category>
|
||||||
|
|
Loading…
Reference in a new issue