From 7ba1f6de4a39d294594dc1e93a58400f6991398f Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sun, 28 May 2023 09:40:10 -0500 Subject: jrnl: finished up trip section --- app/posts/templates/posts/trip_detail.html | 37 ++++++++++++++++++++++++++++++ app/posts/templates/posts/trip_list.html | 2 +- 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 app/posts/templates/posts/trip_detail.html (limited to 'app/posts/templates') diff --git a/app/posts/templates/posts/trip_detail.html b/app/posts/templates/posts/trip_detail.html new file mode 100644 index 0000000..82bd5e3 --- /dev/null +++ b/app/posts/templates/posts/trip_detail.html @@ -0,0 +1,37 @@ +{% extends 'base.html' %} +{% load typogrify_tags %} +{% block pagetitle %}Luxagraf | Range {% endblock %} +{% block metadescription %}A weekly photo, developed.{% endblock %} +{% block breadcrumbs %}{% include "lib/breadcrumbs.html" with breadcrumbs=breadcrumbs %}{% endblock %} +{% block primary %} +
+
+ {%with image=object.featured_image%} + {{image.alt}} photographed by {% if image.photo_credit_source %}{{image.photo_credit_source}}{%else%}luxagraf{%endif%} + {%endwith%} +
+
+

{{object.title|safe|smartypants|widont}}

+ {{object.body_html|safe|smartypants|widont}} +
+

Stories

+
{% for object in posts %} + {% endfor %} +
+
+{%endblock%} + +

If you're not familiar, darktable is open source raw image developer. It's free, you can download a copy for Linux, macOS, or Windows. The darktable user manual is very helpful if you're brand new. I also recommend Bruce Williams' darktable videos, and Boris Hajdukovic's videos, which were the inspiration for what you see here.

+

I'm no expert either, so feel free to hit reply and let me know if I get something wrong.

diff --git a/app/posts/templates/posts/trip_list.html b/app/posts/templates/posts/trip_list.html index 9fa2495..f8d6450 100644 --- a/app/posts/templates/posts/trip_list.html +++ b/app/posts/templates/posts/trip_list.html @@ -24,7 +24,7 @@

- {{object.body_html|smartypants|safe}} + {{object.dek|smartypants|safe}}

{% endfor %} -- cgit v1.2.3-70-g09d2