aboutsummaryrefslogtreecommitdiff
path: root/_includes/feed.atom
diff options
context:
space:
mode:
Diffstat (limited to '_includes/feed.atom')
-rw-r--r--_includes/feed.atom4
1 files changed, 2 insertions, 2 deletions
diff --git a/_includes/feed.atom b/_includes/feed.atom
index f28ef45..93cd27c 100644
--- a/_includes/feed.atom
+++ b/_includes/feed.atom
@@ -53,9 +53,9 @@
{{ entry.content | strip | xml_escape }}
</description>
{% if is_audio %}
- <enclosure url="{{ '/' | absolute_url | xml_escape }}resources/podcasts/{{ entry.date | date: "%Y-%m-%d" }}-{{ entry.ref }}.ogg" type="audio/ogg" />
+ <enclosure url="{{ entry.url | replace: ".html", ".ogg" | absolute_url | xml_escape }}" type="audio/ogg" />
{% elsif is_video %}
- <enclosure url="{{ '/' | absolute_url | xml_escape }}resources/screencasts/{{ entry.date | date: "%Y-%m-%d" }}-{{ entry.ref }}.mkv.torrent" type="application/x-bittorrent" />
+ <enclosure url="{{ entry.url | replace: ".html", ".mkv.torrent" | absolute_url | xml_escape }}" type="application/x-bittorrent" />
{% endif %}
<category>EuAndreh</category>
<pubDate>{{ entry.date | date_to_xmlschema }}</pubDate>