The base_standard.html template was an unnecessary level of template inheritance. Also removed unused `min` and `subtract` template tags.
32 lines
1.7 KiB
HTML
32 lines
1.7 KiB
HTML
{% extends "podjango/base_podcast.html" %}
|
|
|
|
{% block header %}
|
|
{{ block.super }}
|
|
<link rel="alternate" type="application/rss+xml" title="MP3 Audio Feed" href="{% url 'podjango:feed-mp3' podcast_slug=podcast.slug %}" />
|
|
<link rel="alternate" type="application/rss+xml" title="Ogg/Vorbis Audio Feed" href="{% url 'podjango:feed-ogg' podcast_slug=podcast.slug %}" />
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<h1>{{ podcast.title }}</h1>
|
|
|
|
{{ podcast.long_description|safe }}
|
|
|
|
<h2>Follow the RSS and Other Feeds</h2>
|
|
|
|
<p>There is RSS for both <a href="{% url 'podjango:feed-ogg' podcast_slug=podcast.slug %}">ogg format</a>
|
|
and <a href="{% url 'podjango:feed-mp3' podcast_slug=podcast.slug %}">mp3 format</a>.<!-- These links <em>might</em>
|
|
work if you want to <a href="itpc://faif.us{% url 'podjango:feed-mp3' podcast_slug=podcast.slug %}">subscribe to the show</a> <a href="https://itunes.apple.com/us/podcast/free-as-in-freedom/id450458894">with proprietary Apple devices.</a>--></p>
|
|
|
|
<h2>{% include 'podjango/feed_links.inc.html' %}<a href="{% url 'podjango:cast' podcast_slug=podcast.slug %}">Recent Shows</a></h2>
|
|
|
|
{% for cc in cast %}
|
|
<div class="pa2 mb2" style="background: #F0FFB8">
|
|
<a class="feedlink" href="{{ cc.ogg_path }}">{% include 'podjango/audio_ogg_button.inc.html' %}</a>
|
|
<a class="feedlink" href="{{ cc.mp3_path }}">{% include 'podjango/audio_mp3_button.inc.html' %}</a>
|
|
<h3><a href="{% url 'podjango:detail' podcast_slug=podcast.slug year=cc.pub_date.year month=cc.month_str day=cc.pub_date.day slug=cc.slug %}">{{ cc.title|safe }}</a></h3>
|
|
<p class="date">{{ cc.pub_date|date:"F j, Y" }}</p>
|
|
{{ cc.summary|safe }}
|
|
</div>
|
|
{% endfor %}
|
|
<p><a href="{% url 'podjango:cast' podcast_slug=podcast.slug %}">All oggcasts…</a></p>
|
|
{% endblock %}
|