fix UTM in RSS
This commit is contained in:
parent
7a1566a8fc
commit
3dbd8a87ad
2 changed files with 3 additions and 33 deletions
5
rss.xml
5
rss.xml
|
|
@ -38,12 +38,13 @@ title : The Basspistol RSS Feed
|
|||
{% for post in site.posts limit: 7 %}
|
||||
<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 }}/?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>
|
||||
<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>
|
||||
<category>Hi-Lights</category>
|
||||
<author>{{ site.publisher.mail | xml_escape }} ({{ site.publisher.name }})</author>
|
||||
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
|
||||
<published>{{ post.date | date: "%Y-%m-%dT%H:%M:%SZ" }}</published>
|
||||
<updated>{{ post.last_modified_at | date: "%Y-%m-%dT%H:%M:%SZ" }}</updated>
|
||||
<itunes:author>{{ site.publisher.mail }}</itunes:author>
|
||||
<itunes:explicit>No</itunes:explicit>
|
||||
<itunes:subtitle>{{ post.description | truncate: 252 | xml_escape }}</itunes:subtitle>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue