summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorlxf <sng@luxagraf.net>2025-05-31 11:40:05 -0500
committerlxf <sng@luxagraf.net>2025-05-31 11:40:05 -0500
commitd31e91f543ccd8d2282c3c365ed5350b0e98c43f (patch)
tree5f7181754612e4d54b495d9a815f9a361fffef59 /app
parente2b3a335e3984931f1343cb6be8db53a8a1304ab (diff)
added vanilla js slideshow to jrnl template for smaller photos
Diffstat (limited to 'app')
-rw-r--r--app/posts/templates/posts/jrnl_detail.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/posts/templates/posts/jrnl_detail.html b/app/posts/templates/posts/jrnl_detail.html
index e34a825..ee5590b 100644
--- a/app/posts/templates/posts/jrnl_detail.html
+++ b/app/posts/templates/posts/jrnl_detail.html
@@ -27,7 +27,7 @@
</div>
</header>
<div class="e-content entry-content post-body" itemprop="articleBody">
- {{object.body_html|safe|smartypants}}
+ {{object.body_html|safe|smartypants|widont}}
</div>
{%if wildlife or object.field_notes.all or object.books.all %}<div class="entry-footer">{%if wildlife %}
<aside id="wildlife">
@@ -117,5 +117,10 @@
{% block js %}
<script src="/media/js/leaflet-master/leaflet-mod.js"></script>
<script src="/media/js/detail.min.js"></script>
+<script src="/media/js/fslightbox.js"></script>
+<script>
+ fsLightbox.props.type = "image";
+ fsLightbox.props.showThumbsOnMount = true;
+</script>
{{ block.super }}
{%endblock%}