diff --git a/layouts/partials/cover.html b/layouts/partials/cover.html
index b4487329..c1861cf3 100644
--- a/layouts/partials/cover.html
+++ b/layouts/partials/cover.html
@@ -5,7 +5,8 @@
{{- $addLink := (and .Site.Params.cover.linkFullImages (not $.IsHome)) }}
{{- $cover := (.Page.Resources.ByType "image").GetMatch (printf "*%s*" (.Params.cover.image)) }}
{{- if $cover -}}{{/* i.e it is present in page bundle */}}
- {{- if $addLink }}{{ end -}}
+ {{- if $addLink }}{{ end -}}
{{- $sizes := (slice "360" "480" "720" "1080" "1500") }}
{{- $processableFormats := (slice "jpg" "jpeg" "png" "tif" "bmp" "gif") }}
{{- $prod := (eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production")) }}
@@ -20,7 +21,8 @@
{{- end }}
{{- else }}{{/* For absolute urls and external links, no img processing here */}}
- {{- if $addLink }}{{ end -}}
+ {{- if $addLink }}{{ end -}}
{{- end }}
{{- if $addLink }}{{ end -}}