summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlxf <sng@luxagraf.net>2021-10-30 11:45:23 -0400
committerlxf <sng@luxagraf.net>2021-10-30 11:45:23 -0400
commit12a3eaa5d83d0cb9d3352e3fe0f2394017b2b24e (patch)
treeb8c4865ff831df05f5b1ba8965d79105e2cd35c9
parentc80742b329c4955336188f186eaa933193c6c735 (diff)
base: got rid of extraneous templates
-rw-r--r--app/pages/templates/pages/discursive/homepage.html20
-rw-r--r--app/pages/templates/pages/discursive/page_detail.html30
-rw-r--r--app/pages/templates/pages/discursive/page_detail.txt7
3 files changed, 0 insertions, 57 deletions
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 %}<main>
- <article>
- <header class="post-header">
- <h1 class="post-title">{{object.title}}</h1>
- {%if object.sub_title %}<h2 class="post-subtitle">{{object.sub_title}}</h2>{%endif%}
- </header>
- <div class="post-article">
- {{object.body_html|safe|smartypants|widont}}
- </div>
- </article>
- </main>
-{% 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 %}<main>
- <article>
- <header class="post-header">
- <h1 class="post-title">{{object.title}}</h1>
- {%if object.sub_title %}<h2 class="post-subtitle">{{object.sub_title}}</h2>{%endif%}
- </header>
- <div class="post-article">
- {{object.body_html|safe|smartypants|widont}}
- </div>
- </article>
- {% if object.enable_comments %}
-{% get_comment_count for object as comment_count %}
-{%if comment_count > 0 %}
-<p class="comments--header">{{comment_count}} Comment{{ comment_count|pluralize }}</p>
-{% render_comment_list for object %}
-{%endif%}
-<div class="comment--form--wrapper {%if comment_count > 0%}comment-form-border{%endif%}">
-{% render_comment_form for object %}
-</div>
-{%endif%}
- </main>
-{% 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%}
-
- <https://{{object.site.domain}}{{object.get_absolute_url}}>
- {{object.pub_date|date:"l, d F Y"}}
-
-{{object.body_markdown|safe}}