{{- $IsList := .IsList -}} {{- $Page := .Page -}}
{{- $image := partial "helper/image" (dict "Image" $Page.Params.image "Resources" $Page.Resources "Context" $Page) -}} {{ if $image }}
{{ partial "helper/responsive-image" (dict "Resource" $image.Resource "Widths" (cond $Page.Site.Params.ImageProcessing.Content.Enabled $Page.Site.Params.ImageProcessing.Content.Widths nil) "Attributes" (dict "src" $image.Permalink "width" $image.Width "height" $image.Height "alt" (printf "Featured image of post %s" $Page.Title) "loading" "lazy" "sizes" "(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" ) ) }}
{{ end }} {{ partial "article/components/details" (dict "Page" $Page "IsList" $IsList) }}