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) }}