From d674d75c68c3aa65b0f9bb40c512ea8f4f657377 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sat, 6 May 2023 11:50:00 -0400 Subject: jrnl: added a film category (repurposed friends) --- app/posts/templates/posts/film_detail.html | 115 +++++++++++++++++++++++++++++ app/posts/templates/posts/film_list.html | 22 ++++++ 2 files changed, 137 insertions(+) create mode 100644 app/posts/templates/posts/film_detail.html create mode 100644 app/posts/templates/posts/film_list.html (limited to 'app/posts/templates') diff --git a/app/posts/templates/posts/film_detail.html b/app/posts/templates/posts/film_detail.html new file mode 100644 index 0000000..42d06a2 --- /dev/null +++ b/app/posts/templates/posts/film_detail.html @@ -0,0 +1,115 @@ +{% 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 %} +{%endblock%} +{% block breadcrumbs %}{% include "lib/breadcrumbs.html" with breadcrumbs=breadcrumbs %}{% endblock %} +{% block primary %}
+
+
+

{{object.title|smartypants|safe}}

+ {% if object.subtitle %}

{{object.subtitle|smartypants|safe}}

{%endif%} + +
+
+ {% if object.prologue_html %}
+ {{object.prologue_html|smartypants|safe}} +

{%endif%} + {{object.body_html|safe|smartypants}} + {% if object.epilogue_html %}
+ {{object.epilogue_html|smartypants|safe}} +
{%endif%} +
+ {%if wildlife or object.field_notes.all or object.books.all %}{%endif%} +
+
+ {% if object.related.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 %} + +{{ block.super }} +{%endblock%} diff --git a/app/posts/templates/posts/film_list.html b/app/posts/templates/posts/film_list.html new file mode 100644 index 0000000..7a68058 --- /dev/null +++ b/app/posts/templates/posts/film_list.html @@ -0,0 +1,22 @@ +{% extends 'base.html' %} +{% load typogrify_tags %} +{% block pagetitle %}Notes and Essays On Living - By Scott Gilbertson {% endblock %} +{% block metadescription %}Essays and stories on self-reliance, DIY, repair, tools, birding, walking, living well, and other ephemera.{% endblock %} +{% block breadcrumbs %}{% if breadcrumbs %}{% include "lib/breadcrumbs.html" with breadcrumbs=breadcrumbs %}{%endif%}{% endblock %} +{% block primary %}
+
+

Films

+

Être fort pour être utile

+

Films about paddleboarding, hiking, repair, tools, birding, walking, living well, and other bric-à-brac. Please, enjoy.

+
+ +
+{%endblock%} -- cgit v1.2.3-70-g09d2