Each Cast (episode) can belong to one or more Podcast, allowing episodes to be shared between podcasts. This enables us introductory episodes to be delivered in their own feed, but also included in the main "The Corresponding Source" feed. This required adding an additional `podcast_slug` argument to most views. The date archive views were dropped because they're not linked to from anywhere. Added a `podcasts` view as an index of all available Podcasts.
50 lines
1.7 KiB
HTML
50 lines
1.7 KiB
HTML
<!-- FIXME: SFLC specific content -->
|
|
<!-- Copyright (C) 2008 Bradley M. Kuhn <bkuhn@ebb.org> -->
|
|
<!-- Permission is granted to copy, modify, redistribute, propagate, -->
|
|
<!-- and/or convey this template in any form. -->
|
|
{% extends "podjango/base_podcast.html" %}
|
|
|
|
{% load podjango %}
|
|
|
|
{% block subtitle %}{{ object.title|striptags }} - {{ podcast.title }} - {% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<h1>{% include 'podjango/feed_links.inc.html' %} <a href="{% url 'podjango:cast-home' podcast_slug=podcast.slug %}">{{ podcast.title }}</h1>
|
|
|
|
<h2><a class="feedlink" href="{{ object.ogg_path }}">{% include 'podjango/audio_ogg_button.inc.html' %}</a>
|
|
<a class="feedlink" href="{{ object.mp3_path }}">{% include 'podjango/audio_mp3_button.inc.html' %}</a>
|
|
{{ object.title|safe }}</h2>
|
|
|
|
<p class="date">{{ object.pub_date|date:"j F Y" }}</p>
|
|
|
|
<h3>Download</h3>
|
|
|
|
<p>
|
|
<a href="{{ object.ogg_path }}" class="document_format">ogg</a><a href="{{ object.mp3_path }}" class="document_format">mp3</a>
|
|
</p>
|
|
|
|
<h3>Summary</h3>
|
|
|
|
{{ object.summary|safe }}
|
|
|
|
<p>
|
|
This show was released on {{ object.pub_date|date:"l j F Y" }}; its
|
|
running time is {{ object.duration}}.</p>
|
|
|
|
<h3>Show Notes</h3>
|
|
<div class="mb5">
|
|
{{ object.body|safe }}
|
|
</div>
|
|
|
|
<div class="i">
|
|
{% include "podjango/credits.inc.html" %}
|
|
{% include "podjango/feedback.inc.html" %}
|
|
{% include "podjango/license.inc.html" %}
|
|
</div>
|
|
|
|
{% if object.tags.all %}<p class="blog-tags">Tags: {% for tag in object.tags.all %}<a href="{% tag_url podcast tag %}">{{ tag.label }}</a>{% if not forloop.last %}, {% endif %}{% endfor %}</p>{% endif %}
|
|
|
|
<p><span class="continued"><a href="{% url 'podjango:cast' podcast_slug=podcast.slug %}">Other episodes…</a></span></p>
|
|
|
|
{% endblock %}
|