From 656505098a80e653319236ac302fd6dd9f485b33 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Fri, 2 Dec 2022 14:16:08 -0600 Subject: reset migrations to zero out some changes (deleting the geodata for example) --- app/podcasts/templates/podcasts/detail.html | 108 ++++++++++++++++++++++++++++ app/podcasts/templates/podcasts/list.html | 31 ++++++++ 2 files changed, 139 insertions(+) create mode 100644 app/podcasts/templates/podcasts/detail.html create mode 100644 app/podcasts/templates/podcasts/list.html (limited to 'app/podcasts/templates') diff --git a/app/podcasts/templates/podcasts/detail.html b/app/podcasts/templates/podcasts/detail.html new file mode 100644 index 0000000..361d822 --- /dev/null +++ b/app/podcasts/templates/podcasts/detail.html @@ -0,0 +1,108 @@ +{% extends 'base.html' %} +{% load typogrify_tags %} +{% load comments %} +{% block pagetitle %}{{object.title|striptags}} - by Scott Gilbertson{% endblock %} +{% block metadescription %}{% autoescape on %}{{object.meta_description|striptags|safe}}{% endautoescape %}{% endblock %} +{%block extrahead%} + +{%endblock%} + +{% block bodyid %}class="detail single"{% endblock %} +{% block breadcrumbs %}{% include "lib/breadcrumbs.html" with breadcrumbs=breadcrumbs %}{% endblock %} +{% block primary %}
+
+
+

{{object.title|smartypants|safe}}

+

{% if object.subtitle %}{{object.subtitle|smartypants|safe}}{%else%}{{object.meta_description|safe|smartypants|widont}}{%endif%}

+ +
+ + +
+ {{object.body_html|safe|smartypants|widont}} +
+
+ + {% with object.get_next_published as next %} + {% with object.get_previous_published as prev %} + {%endwith%}{%endwith%} + {% if object.related.all %}
+ +
{%endif%} +
+ {% if object.enable_comments %} +{% get_comment_count for object as comment_count %} +{%if comment_count > 0 %} +
+

{{comment_count}} Comment{{ comment_count|pluralize }}

+{% render_comment_list for object %} +{%endif%} +
+{% render_comment_form for object %} +
+{% else %} +

Sorry, comments have been disabled for this post.

+{%endif%} +
+ +{% endblock %} +{% block js %} + + +{%endblock%} diff --git a/app/podcasts/templates/podcasts/list.html b/app/podcasts/templates/podcasts/list.html new file mode 100644 index 0000000..89b7ea8 --- /dev/null +++ b/app/podcasts/templates/podcasts/list.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 %}
+
+

{{podcast.title}}

+ {% if object.subtitle %}

{{podcast.subtitle}}

{% endif %} +
+ +

Episodes

{% autopaginate object_list 24 %} + + MP3 + MP4 + OGG + + +
+{%endblock%} -- cgit v1.2.3-70-g09d2