From 35e272426ca3f0e80e5d26577610bff7660c5619 Mon Sep 17 00:00:00 2001 From: paspo Date: Sun, 7 Jul 2024 09:18:21 +0200 Subject: [PATCH] testo a dx limitato e terminato con puntini di sospensione --- layouts/_default/shortblock.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/_default/shortblock.html b/layouts/_default/shortblock.html index d2b7fcb..b76ff6c 100644 --- a/layouts/_default/shortblock.html +++ b/layouts/_default/shortblock.html @@ -44,9 +44,9 @@ {{ end }}

{{ with .Description }} - {{- . }} + {{- . | truncate 400 }} {{- else }} - {{- .Summary }} + {{- .Summary | truncate 400 }} {{- end }}