diff options
Diffstat (limited to 'layouts/partials/article/components/header.html')
-rw-r--r-- | layouts/partials/article/components/header.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/article/components/header.html b/layouts/partials/article/components/header.html index 7582ec2..78b41bd 100644 --- a/layouts/partials/article/components/header.html +++ b/layouts/partials/article/components/header.html @@ -9,7 +9,7 @@ {{- $Height := $image.resource.Height -}} {{- $Srcset := "" -}} - {{- if (default true .Page.Site.Params.imageProcessing.cover.enabled) -}} + {{- if .Page.Site.Params.imageProcessing.cover.enabled -}} {{- $thumbnail := $image.resource.Resize "800x" -}} {{- $thumbnailRetina := $image.resource.Resize "1600x" -}} {{- $Srcset = printf "%s 800w, %s 1600w" $thumbnail.RelPermalink $thumbnailRetina.RelPermalink -}} |