diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 7a4d32f6..66176bd4 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -11,6 +11,7 @@
{{- if or .Params.image .Params.featured }}
{{- $maxHeight := 600 -}}
+ {{- $ratio := 2.33 -}}
{{ $rasters := slice "jpeg" "png" }}
{{- $img := "#" -}}
@@ -29,7 +30,7 @@
{{- if gt $img.Height $maxHeight -}}
{{- $img = $img.Resize (printf "x%d webp q50" $maxHeight) -}}
{{- end -}}
-
+
{{ else }}
{{ end }}