diff --git a/layouts/partials/cover.html b/layouts/partials/cover.html index 76aaf0d1..da792d75 100644 --- a/layouts/partials/cover.html +++ b/layouts/partials/cover.html @@ -28,15 +28,19 @@ {{- if $cover -}}{{/* i.e it is present in page bundle */}} {{- if (and (in $processableFormats $cover.MediaType.SubType) ($responsiveImages) (eq $prod true)) }} - {{ $alt }} + {{ $alt }} {{- else }}{{/* Unprocessable image or responsive images disabled */}} - {{ $alt }} + {{ $alt }} {{- end }} {{- else }}{{/* For absolute urls and external links, no img processing here */}} {{ $alt }}