From 63661b0baf28e1079ea6115fbc1c74c82621b647 Mon Sep 17 00:00:00 2001 From: patrick Date: Mon, 7 Jun 2021 19:32:25 +0000 Subject: [PATCH] add truncate title --- fet2020/templates/posts/partials/_posts_hero_compact.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fet2020/templates/posts/partials/_posts_hero_compact.html b/fet2020/templates/posts/partials/_posts_hero_compact.html index ea73071a..7dfed2d1 100644 --- a/fet2020/templates/posts/partials/_posts_hero_compact.html +++ b/fet2020/templates/posts/partials/_posts_hero_compact.html @@ -1,7 +1,7 @@
-

{{ post.title | safe }}

+

{{ post.title | safe | truncatechars:60 }}