From 6f14d434a90471ad129721ae49ac63da033d53fd 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) }}