Skip to content
This repository was archived by the owner on Nov 9, 2020. It is now read-only.

Commit 85cdd73

Browse files
committed
path fixes
1 parent 1386b81 commit 85cdd73

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

_plugins/octopod_filters.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@ def audio_tag(page, site)
143143
def web_player_moderator(page, site)
144144
return if page['audio'].nil?
145145
out = %Q{<div class="podlove-player-wrapper">}
146-
out = out + %Q{ <audio data-podlove-web-player-source="/players/#{page['slug']}/index.html">\n}
147-
out = out + " <source src='episodes/#{page['audio']['mp3']}' type='audio/mp3'>\n"
146+
out = out + %Q{ <audio data-podlove-web-player-source="#{site['url']}/players/#{page['slug']}/index.html">\n}
147+
out = out + " <source src='#{site['url']}/episodes/#{page['audio']['mp3']}' type='audio/mp3'>\n"
148148
out = out + " </audio>\n"
149149
out = out + "</div>\n"
150150
out = out + "<script>$('audio').podlovewebplayer();</script>\n"

feed.xml

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ layout: null
66
<channel>
77
<title>{{ site.title | xml_escape }}</title>
88
<description>{{ site.description | xml_escape }}</description>
9-
<link>{{ site.url }}{{ site.baseurl }}/</link>
10-
<atom:link href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" rel="self" type="application/rss+xml"/>
9+
<link>{{ site.url }}/</link>
10+
<atom:link href="{{ "/feed.xml" | prepend: site.url }}" rel="self" type="application/rss+xml"/>
1111
<pubDate>{{ site.time | date_to_rfc822 }}</pubDate>
1212
<lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
1313
<generator>Jekyll v{{ jekyll.version }}</generator>
@@ -16,8 +16,8 @@ layout: null
1616
<title>{{ post.title | xml_escape }}</title>
1717
<description>{{ post.content | xml_escape }}</description>
1818
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
19-
<link>{{ post.url | prepend: site.baseurl | prepend: site.url }}</link>
20-
<guid isPermaLink="true">{{ post.url | prepend: site.baseurl | prepend: site.url }}</guid>
19+
<link>{{ post.url | prepend: site.url }}</link>
20+
<guid isPermaLink="true">{{ post.url | prepend: site.url }}</guid>
2121
{% for tag in post.tags %}
2222
<category>{{ tag | xml_escape }}</category>
2323
{% endfor %}

0 commit comments

Comments
 (0)