diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 2d728e07..ef3ef296 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -33,7 +33,11 @@
{{- if .Params.cover }}
-
+ {{ if (or (fileExists (path.Join "static" .Params.cover)) (hasPrefix .Params.cover "http://") (hasPrefix .Params.cover "https://")) }}
+
+ {{else}}
+
+ {{end}}
{{- end }}
{{- if .Params.cover }}
+ {{ if (or (fileExists (path.Join "static" .Params.cover)) (hasPrefix .Params.cover "http://") (hasPrefix .Params.cover "https://")) }}
+ {{else}}
+
+ {{end}}
{{- end }}
{{- if .Params.ShowToc }}