From e4dca5792a9ef843ae5a1f35a8166551747f33f2 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sat, 14 Sep 2019 08:36:11 -0400 Subject: Worked on guides, moved some templates to app/dir --- design/templates/guides/guide_detail.html | 176 ------------------------------ 1 file changed, 176 deletions(-) delete mode 100644 design/templates/guides/guide_detail.html (limited to 'design/templates/guides/guide_detail.html') diff --git a/design/templates/guides/guide_detail.html b/design/templates/guides/guide_detail.html deleted file mode 100644 index 1ef602a..0000000 --- a/design/templates/guides/guide_detail.html +++ /dev/null @@ -1,176 +0,0 @@ -{% extends 'base.html' %} -{% load typogrify_tags %} -{% load comments %} -{%block htmlclass%}class="detail single"{%endblock%} -{% block pagetitle %}{{object.title|title|smartypants|safe}} - by Scott Gilbertson{% endblock %} - -{% block metadescription %}{% autoescape on %}{{object.meta_description|striptags|safe}}{% endautoescape %}{% endblock %} -{%block extrahead%} -{% if object.has_code %} - -{%endif %} - - - - - - - - - - - - - - - {% if object.featured_image %} - {%endif%} - -{%endblock%} - -{%block bodyid %}{% if object.get_post_type_display == 'tools' %}class="src"{% endif %}{%endblock%} - -{% block primary %} -
-
-
-

{%if object.template_name == 1 or object.template_name == 3 %}{{object.title|smartypants|safe}}{%else%}{{object.title|smartypants|safe}}{%endif%}

-

{{object.sub_title|smartypants|safe}}

-
- {% if object.originally_published_by %}

Originally Published By: {{object.originally_published_by}}

{%endif%} - {% if object.location %}
-

{% if object.location.country_name == "United States" %}{{object.location.name|smartypants|safe}}, {{object.location.state_name|safe}}, U.S.{%else%}{{object.location.name|smartypants|safe}}, {{object.location.country_name|safe}}{%endif%}

- – Map -
{%endif%} - - -
-
-
- {% if object.preamble %}
- {{object.preamble_html|smartypants|safe}} -
{%endif%} - {{object.body_html|safe|smartypants}} -
- {% if object.afterword_html %}
-

Afterward

- {{object.afterword_html|smartypants|safe}} -
{%endif%} - {%if wildlife or object.field_notes.all or object.books.all %}{%endif%} -
- - {% comment %}
-
If you enjoyed this, you should join the mailing list…
- {% include 'mailing_list.html' %} -
{% endcomment %} -
- {% 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%} -- cgit v1.2.3-70-g09d2