From e916939becec3ad5ca46542166119450bdd2104e Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Fri, 29 Apr 2022 16:29:03 -0500 Subject: [PATCH] merge overriding single.html from theme --- layouts/_default/single.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 47f1cf0..c62ef91 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -23,9 +23,9 @@ {{- T "old_content_note" -}} {{- end -}} - {{- if .Params.featureImage -}} + {{- with .Params.featureImage -}}
- {{- partial "image" (dict "file" .Params.featureImage "type" "featured") }} + {{- partial "image" (dict "file" . "type" "featured" "Page" $.Page) }}
{{- end -}} {{ if and (gt .WordCount 400 ) (gt (len .TableOfContents) 180) ($s.toc) }}