From a28a12282f89ac37ec6c28c90ee64225881b946a Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Mon, 25 Apr 2022 12:15:47 -0500 Subject: [PATCH] fix for broken feature images --- layouts/_default/single.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index c4c0051..47f1cf0 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -23,7 +23,11 @@ {{- T "old_content_note" -}} {{- end -}} - {{- partial "image-feature" . }} + {{- if .Params.featureImage -}} +
+ {{- partial "image" (dict "file" .Params.featureImage "type" "featured") }} +
+ {{- end -}} {{ if and (gt .WordCount 400 ) (gt (len .TableOfContents) 180) ($s.toc) }}