From 3c3a36fefd15c1501068eac1ef16cb3936af3fc0 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Fri, 13 May 2022 16:14:35 -0500 Subject: [PATCH] merge in changes from theme --- layouts/_default/single.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index c62ef91..dffd529 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -25,7 +25,7 @@ {{- end -}} {{- with .Params.featureImage -}}
- {{- partial "image" (dict "file" . "type" "featured" "Page" $.Page) }} + {{- partial "image" (dict "file" $p.featureImage "alt" $p.featureImageAlt "cap" $p.featureImageCap "type" "featured" "Page" $.Page) }}
{{- end -}} {{ if and (gt .WordCount 400 ) (gt (len .TableOfContents) 180) ($s.toc) }}