From dc141b09517aaf79d1f68a44984b633f9fc412d2 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 6 Jul 2024 08:40:10 -0400 Subject: [PATCH] truncate long posts in discover --- catalog/templates/discover.html | 2 +- journal/templates/posts.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/catalog/templates/discover.html b/catalog/templates/discover.html index d21d459c..369e91d7 100644 --- a/catalog/templates/discover.html +++ b/catalog/templates/discover.html @@ -183,7 +183,7 @@
{% trans "Collections" %}
diff --git a/journal/templates/posts.html b/journal/templates/posts.html index 539de1d5..40821d11 100644 --- a/journal/templates/posts.html +++ b/journal/templates/posts.html @@ -39,7 +39,7 @@ {% endif %} {% endfor %} - {{ post.content|bleach:"a,p,span,br,div,img"|default:"" }} +
{{ post.content|bleach:"a,p,span,br,div,img"|default:"" }}