diff --git a/layouts/partials/templates/opengraph.html b/layouts/partials/templates/opengraph.html
index 38fbd24..8f62080 100644
--- a/layouts/partials/templates/opengraph.html
+++ b/layouts/partials/templates/opengraph.html
@@ -11,7 +11,7 @@
{{- else }}
{{- with $.Params.images -}}
-{{- range first 6 . }}{{ end -}}
+{{- range first 6 . }}{{ end -}}
{{- else -}}
{{- $images := $.Resources.ByType "image" -}}
{{- $featured := $images.GetMatch "*feature*" -}}