From 12a3eaa5d83d0cb9d3352e3fe0f2394017b2b24e Mon Sep 17 00:00:00 2001 From: lxf Date: Sat, 30 Oct 2021 11:45:23 -0400 Subject: base: got rid of extraneous templates --- app/pages/templates/pages/discursive/homepage.html | 20 --------------- .../templates/pages/discursive/page_detail.html | 30 ---------------------- .../templates/pages/discursive/page_detail.txt | 7 ----- 3 files changed, 57 deletions(-) delete mode 100644 app/pages/templates/pages/discursive/homepage.html delete mode 100644 app/pages/templates/pages/discursive/page_detail.html delete mode 100644 app/pages/templates/pages/discursive/page_detail.txt (limited to 'app') diff --git a/app/pages/templates/pages/discursive/homepage.html b/app/pages/templates/pages/discursive/homepage.html deleted file mode 100644 index 68490ba..0000000 --- a/app/pages/templates/pages/discursive/homepage.html +++ /dev/null @@ -1,20 +0,0 @@ -{% extends 'discursive_base.html' %} -{% load typogrify_tags %} -{% load comments %} -{% block pagetitle %}Learn Discursive Meditation{% endblock %} -{% block metadescription %}{{object.meta_description}}{% endblock %} -{%block bodyclass%}detail{%endblock%} -{%block bodyid%}{%endblock%} -{% block breadcrumbs %}{% include "lib/breadcrumbs.html" with breadcrumbs=breadcrumbs %}{% endblock %} -{% block content %}
-
-
-

{{object.title}}

- {%if object.sub_title %}

{{object.sub_title}}

{%endif%} -
-
- {{object.body_html|safe|smartypants|widont}} -
-
-
-{% endblock %} diff --git a/app/pages/templates/pages/discursive/page_detail.html b/app/pages/templates/pages/discursive/page_detail.html deleted file mode 100644 index 8941cd2..0000000 --- a/app/pages/templates/pages/discursive/page_detail.html +++ /dev/null @@ -1,30 +0,0 @@ -{% extends 'discursive_base.html' %} -{% load typogrify_tags %} -{% load comments %} -{% block pagetitle %}{{object.title}}{% endblock %} -{% block metadescription %}{{object.meta_description}}{% endblock %} -{%block htmlclass%}class="detail"{%endblock%} -{%block bodyid%}{{object.title|slugify}}{%endblock%} -{% block breadcrumbs %}{% include "lib/breadcrumbs.html" with breadcrumbs=breadcrumbs %}{% endblock %} -{% block content %}
-
-
-

{{object.title}}

- {%if object.sub_title %}

{{object.sub_title}}

{%endif%} -
-
- {{object.body_html|safe|smartypants|widont}} -
-
- {% 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 %} -
-{%endif%} -
-{% endblock %} diff --git a/app/pages/templates/pages/discursive/page_detail.txt b/app/pages/templates/pages/discursive/page_detail.txt deleted file mode 100644 index bbeb715..0000000 --- a/app/pages/templates/pages/discursive/page_detail.txt +++ /dev/null @@ -1,7 +0,0 @@ -{{object.title|safe}} -{% for letter in object.title %}={%endfor%} - - - {{object.pub_date|date:"l, d F Y"}} - -{{object.body_markdown|safe}} -- cgit v1.2.3-70-g09d2