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/base.html | 8 +- .../fieldnotes/fieldnote_archive_list_date.html | 44 ------ design/templates/fieldnotes/fieldnote_detail.html | 83 ---------- design/templates/fieldnotes/fieldnote_list.html | 45 ------ design/templates/guides/guide_detail.html | 176 --------------------- design/templates/guides/guide_detail.txt | 8 - design/templates/guides/guide_list.html | 38 ----- 7 files changed, 4 insertions(+), 398 deletions(-) delete mode 100644 design/templates/fieldnotes/fieldnote_archive_list_date.html delete mode 100644 design/templates/fieldnotes/fieldnote_detail.html delete mode 100644 design/templates/fieldnotes/fieldnote_list.html delete mode 100644 design/templates/guides/guide_detail.html delete mode 100644 design/templates/guides/guide_detail.txt delete mode 100644 design/templates/guides/guide_list.html (limited to 'design/templates') diff --git a/design/templates/base.html b/design/templates/base.html index 4ba62a1..2941a0a 100644 --- a/design/templates/base.html +++ b/design/templates/base.html @@ -31,11 +31,11 @@ diff --git a/design/templates/fieldnotes/fieldnote_archive_list_date.html b/design/templates/fieldnotes/fieldnote_archive_list_date.html deleted file mode 100644 index 57bbb69..0000000 --- a/design/templates/fieldnotes/fieldnote_archive_list_date.html +++ /dev/null @@ -1,44 +0,0 @@ -{% extends 'base.html' %} -{% load typogrify_tags %} -{% load html5_datetime %} -{% load pagination_tags %} -{% block pagetitle %} Field Notes | luxagraf {% endblock %} -{% block metadescription %} Rough notes and sketches from the field {% endblock %} -{%block bodyid%}id="field-notes"{%endblock%} - -{% block primary %} - -
-
-

Field Notes {% if month or year %}{% if month %} from {{month|date:"F"}} {{month|date:"Y"}}{%else%} from {{year|date:"Y"}}{%endif%}{%endif%}

-

Quick notes, sketches and images from the road. This is the semi-orgnized brain dump that comes before the more organized journal entries and essays. If I used social media this is the stuff I'd probably put there, but I prefer to put it here, even if it means a lot few people read it.

-
- -
- -{% endblock %} - - - diff --git a/design/templates/fieldnotes/fieldnote_detail.html b/design/templates/fieldnotes/fieldnote_detail.html deleted file mode 100644 index dc90e16..0000000 --- a/design/templates/fieldnotes/fieldnote_detail.html +++ /dev/null @@ -1,83 +0,0 @@ -{% extends 'base.html' %} -{% load typogrify_tags %} -{% load html5_datetime %} -{% load month_number_to_name %} -{% block pagetitle %}{{object.title|title|smartypants|safe}} - Luxagraf, Field Notes{% endblock %} - -{% block metadescription %}{{object.body_html|striptags|safe|truncatewords:30}}{% endblock %} -{%block extrahead%} - - - - - -{%endblock%} -{% block bodyid %}class="notes--permalin detail" id="archive-{% if month %}{{month|month_number_to_name}}{%endif%}{{year}}"{%endblock%} - - -{% block primary %} -
-
-
-

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

- {% if object.subtitle %}

{{object.subtitle|smartypants|safe}}

{%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%} - - -
-
-
- {{object.body_html|safe|smartypants}} -
- - - - - - - - {% with object.get_next_published as next %} - {% with object.get_previous_published as prev %} - {%endwith%}{%endwith%} -
-
-{% endblock %} diff --git a/design/templates/fieldnotes/fieldnote_list.html b/design/templates/fieldnotes/fieldnote_list.html deleted file mode 100644 index c201382..0000000 --- a/design/templates/fieldnotes/fieldnote_list.html +++ /dev/null @@ -1,45 +0,0 @@ -{% extends 'base.html' %} -{% load typogrify_tags %} -{% load html5_datetime %} -{% load pagination_tags %} -{% block pagetitle %} Field Notes | luxagraf {% endblock %} -{% block metadescription %}Rough notes and sketches from the field {% endblock %} -{%block bodyid%}id="field-notes"{%endblock%} - -{% block primary %} - -
-
-

Field Notes

-

Quick notes, sketches and images from the road. This is the semi-orgnized brain dump that comes before the more organized journal entries and essays. If I used social media this is the stuff I'd probably put there, but I prefer to put it here, even if it means a lot fewer people read it.

-
- {% autopaginate object_list 30 %} - -
- -{% endblock %} - - - 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%} diff --git a/design/templates/guides/guide_detail.txt b/design/templates/guides/guide_detail.txt deleted file mode 100644 index 547ce79..0000000 --- a/design/templates/guides/guide_detail.txt +++ /dev/null @@ -1,8 +0,0 @@ -{{object.title|safe}} -{% for letter in object.title %}={%endfor%} - - by Scott Gilbertson - <{{SITE_URL}}{{object.get_absolute_url}}> - {{object.pub_date|date:"l, d F Y"}} - -{{object.body_markdown|safe}} diff --git a/design/templates/guides/guide_list.html b/design/templates/guides/guide_list.html deleted file mode 100644 index 43f31b9..0000000 --- a/design/templates/guides/guide_list.html +++ /dev/null @@ -1,38 +0,0 @@ -{% extends 'base.html' %} -{% load typogrify_tags %} -{% load html5_datetime %} -{% load pagination_tags %} -{% block pagetitle %}Guides for the perplexed{% endblock %} -{% block metadescription %}Guides for fellow travelers: tools, tips, and tricks to make life on the road easier{% endblock %} - -{% block primary %} -
-
-

Guides for fellow travelers

-

Topics include travel, cooking, photography, writing, simplicity, and once, coffee.

-
-

Guides

- {% autopaginate object_list 30 %} - -
-{%endblock%} -- cgit v1.2.3-70-g09d2