Commit 6df07922 authored by fred's avatar fred

point emission pages to their own podcasts

parent 23a4d1d1
......@@ -784,7 +784,7 @@ class EmissionPodcastsFeed(PodcastsFeed):
@property
def title(self):
return '%s - Podcasts' % self.emission.title
return self.emission.title
@property
def link(self):
......
......@@ -25,7 +25,9 @@
<link rel="alternate" type="application/rss+xml" href="{% url 'rss-feed' %}" title="News rss feed">
<link rel="alternate" type="application/rss+xml" href="{% url 'atom-feed' %}" title="News atom feed">
<link rel="alternate" type="application/rss+xml" href="{% url 'podcasts-feed' %}" title="Podcast sounds">
{% block podcasts-feed %}
<link rel="alternate" type="application/rss+xml" href="{% url 'podcasts-feed' %}" title="Radio Panik Podcasts">
{% endblock %}
<link rel="stylesheet" href="{{ STATIC_URL }}css/style.css" type="text/css" />
......
......@@ -24,6 +24,10 @@
{% endif %}
{% endblock %}
{% block podcasts-feed %}
<link rel="alternate" type="application/rss+xml" href="{% url 'emission-podcasts' slug=emission.slug %}" title="{{ emission.title }} Podcasts">
{% endblock %}
{% block toptitle %}
<h1 class="top"><a href="{% url 'grid' %}">{% trans 'Program' %}</a></h1>
{% endblock %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment