diff --git a/layouts/partials/cover.html b/layouts/partials/cover.html
index 2748c95c..76aaf0d1 100644
--- a/layouts/partials/cover.html
+++ b/layouts/partials/cover.html
@@ -17,26 +17,29 @@
{{- $processableFormats = $processableFormats | append "webp" -}}
{{- end -}}
+ {{- $imgdl := (.Params.cover.image) | absURL }}
+ {{- if $cover -}}
+ {{- $imgdl = $cover.Permalink }}
+ {{- end -}}
+
{{- if $addLink }}
-
+
{{- end }}
{{- if $cover -}}{{/* i.e it is present in page bundle */}}
{{- if (and (in $processableFormats $cover.MediaType.SubType) ($responsiveImages) (eq $prod true)) }}
-
+
{{- else }}{{/* Unprocessable image or responsive images disabled */}}
-
+
{{- end }}
{{- else }}{{/* For absolute urls and external links, no img processing here */}}
- {{- if $addLink }}{{ end -}}
-
+
{{- end }}
{{- if $addLink }}