From 4d2b9eee4b64807a90d9fcf33de8ba53c4150573 Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Mon, 6 Oct 2025 21:39:38 +0200 Subject: Stop rendering empty description --- layouts/partials/list/default.html | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'layouts/partials') diff --git a/layouts/partials/list/default.html b/layouts/partials/list/default.html index e088f1c..f1eef3d 100644 --- a/layouts/partials/list/default.html +++ b/layouts/partials/list/default.html @@ -9,13 +9,11 @@ -
- {{ if .Params.description }} + {{ if and .Params.description (ne .Params.description "") }} +
{{ .Params.description }} - {{ else if .Summary }} - {{ .Summary }} - {{ end }} -
+
+ {{ end }}
-- cgit v1.3