summaryrefslogtreecommitdiff
path: root/app/posts/templates
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2025-03-23 09:12:17 -0500
committerluxagraf <sng@luxagraf.net>2025-03-23 09:12:17 -0500
commit1ddbab18a649a8da32d1e574b3f14f45975efabb (patch)
tree0069518448804bf35ac2919750e9c84e5eeeaaf8 /app/posts/templates
parentfa4f915ccf415136b7d4bb25f9ed84e4abe3b518 (diff)
posts: added photo essay detail page and build
Diffstat (limited to 'app/posts/templates')
-rw-r--r--app/posts/templates/photo_essay_detail.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/posts/templates/photo_essay_detail.html b/app/posts/templates/photo_essay_detail.html
index 0655f40..de735f2 100644
--- a/app/posts/templates/photo_essay_detail.html
+++ b/app/posts/templates/photo_essay_detail.html
@@ -9,7 +9,7 @@
{% block breadcrumbs %}{% include "lib/breadcrumbs.html" with breadcrumbs=breadcrumbs %}{% endblock %}
{% block primary %}
<main role="main">
- <figure class="large-top-image">{%with object=object_list%}
+ <figure class="large-top-image">
<a href="{{object.get_absolute_url}}" title="{{object.title}}">{%with image=object.featured_image%}
<img style="margin:0;" sizes="(max-width: 960px) 100vw"
srcset="{{image.get_srcset}}"
@@ -30,5 +30,5 @@
{{object.body_html|safe|smartypants}}
</div>
</div>
- </main>{%endwith%}
+ </main>
{% endblock%}