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/projects/list.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'themes/cranky/layouts/projects/list.html') diff --git a/themes/cranky/layouts/projects/list.html b/themes/cranky/layouts/projects/list.html index 9dc5286..0767875 100644 --- a/themes/cranky/layouts/projects/list.html +++ b/themes/cranky/layouts/projects/list.html @@ -81,9 +81,8 @@ time { {{- range.Pages }}
{{ .Title }} - {{- if .Param "datesinlist" }} {{ end -}} - {{ $summary := index (split .Content "

") 0 }} -

{{ $summary | plainify }}

+ {{- if .Param "datesinlist" }} {{ end -}} +

{{ .Summary | truncate 220 "..." }}

{{- if .Param "authorsinlist" }} {{ with .Params.authors }} by -- cgit v1.2.3