From f303dee3352c9e46b9efea158c8677d7e5c2a2d0 Mon Sep 17 00:00:00 2001 From: jtbx Date: Tue, 23 Jan 2024 18:57:40 +0100 Subject: [PATCH] Home: Fix non-existing links on card headings --- themes/ccchh/layouts/index.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/themes/ccchh/layouts/index.html b/themes/ccchh/layouts/index.html index b832904..1e58c48 100644 --- a/themes/ccchh/layouts/index.html +++ b/themes/ccchh/layouts/index.html @@ -39,7 +39,11 @@ {{- range $subsecs }} {{- $link := .Params.link }}
+ {{- if eq $link nil }} +

{{ .Title }}

+ {{- else }}

{{ .Title }}

+ {{- end }} {{- $img_path := printf "%s%s" $subsec_dir .Params.Image }} {{- with $home.Resources.Get $img_path }}