From eed43305c355d112693877f4822df7b7b58b07ed Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Thu, 23 Nov 2023 17:53:39 -0500 Subject: Showcase project descriptions --- themes/cranky/layouts/shortcodes/prj.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'themes/cranky/layouts/shortcodes') diff --git a/themes/cranky/layouts/shortcodes/prj.html b/themes/cranky/layouts/shortcodes/prj.html index 2d7df98..0db4abe 100644 --- a/themes/cranky/layouts/shortcodes/prj.html +++ b/themes/cranky/layouts/shortcodes/prj.html @@ -8,7 +8,8 @@

- {{ .Summary | truncate 220 "..." }} + {{ $summary := index (split .Content "

") 0 }} + {{ $summary | plainify }}

-- cgit v1.2.3