From 9702e324a3b87a383139613ad3a804ac57518e24 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) }}