summaryrefslogtreecommitdiff
path: root/app/podcasts/templates
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2022-12-17 16:24:04 -0600
committerluxagraf <sng@luxagraf.net>2022-12-17 16:24:04 -0600
commit250c9dabae53407b7e1f76cb619729f2672ed82d (patch)
tree78a800e6cee9cc33bc3711b84daa456d357e0947 /app/podcasts/templates
parenta60db651e4818a32509094b2a052fa7fac97389f (diff)
pod: finished podcast framework
Diffstat (limited to 'app/podcasts/templates')
-rw-r--r--app/podcasts/templates/podcasts/list-episode.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/app/podcasts/templates/podcasts/list-episode.html b/app/podcasts/templates/podcasts/list-episode.html
new file mode 100644
index 0000000..89b7ea8
--- /dev/null
+++ b/app/podcasts/templates/podcasts/list-episode.html
@@ -0,0 +1,31 @@
+{% extends 'base.html' %}
+{% load typogrify_tags %}
+{% load pagination_tags %}
+{% load comments %}
+
+{% block pagetitle %}The Lulu and Birdie Podcast{% endblock %}
+{% block metadescription %}The Adventures of Lulu, Birdie, and Henry in podcast form - by Scott Gilbertson.{% endblock %}
+{% block breadcrumbs %}{% include "lib/breadcrumbs.html" with breadcrumbs=breadcrumbs %}{% endblock %}
+{% block primary %}<main role="main" class="archive-wrapper">
+ <div class="archive-intro">
+ <h1 class="archive-hed">{{podcast.title}}</h1>
+ {% if object.subtitle %}<h2 class="list-subhed">{{podcast.subtitle}}</h2>{% endif %}
+ </div>
+
+ <h1 class="archive-sans">Episodes</h1>{% autopaginate object_list 24 %}
+ <ul class="archive-list">{% for object in object_list %}
+ <li class="h-entry hentry archive-list-card archive-list-card-sm" itemscope itemType="http://schema.org/Article">
+ <span class="date dt-published card-smcaps">{{object.pub_date|date:"F Y"}}</span>
+ <a href="{{object.get_absolute_url}}">
+ <h2 class="card-hed">{{object.title|safe|smartypants|widont}}</h2>
+ <p class="p-summary card-lede">{% if object.subtitle %}{{object.subtitle}}{%else%}{{object.meta_description|safe|smartypants|widont}}{%endif%}</p>
+ </a>
+ </li>
+ {%endfor%}</ul>
+ <a href="{% url 'podcasts_show_feed_atom' podcast.slug 'mp3' %}" >MP3</a>
+ <a href="{% url 'podcasts_show_feed_atom' podcast.slug 'mp4' %}" >MP4</a>
+ <a href="{% url 'podcasts_show_feed_rss' podcast.slug 'mp3' %}" >OGG</a>
+
+
+ </main>
+{%endblock%}