diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 431e406..52b6f2f 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -5,31 +5,29 @@
{{ if not .IsHome }}{{ .Title }} - {{ end }}{{ site.Title }}
- {{ if eq .Kind "page" }}
-
-
- {{ else }}
-
-
- {{ end }}
+ {{- if eq .Kind "page" -}}
+
+
+ {{- else -}}
+
+
+ {{- end -}}
-
- {{ range $.Scratch.Get "social-list" }}
-
- {{ end }}
+ {{- range $.Scratch.Get "social-list" -}}
+
+ {{- end -}}
{{ hugo.Generator }}
- {{ range .AlternativeOutputFormats }}
-
- {{ end }}
+ {{- range .AlternativeOutputFormats -}}
+
+ {{- end -}}
-
- {{ if or hugo.IsProduction (eq site.Params.env "production") }}
- {{ template "_internal/schema.html" . }}
- {{ template "_internal/twitter_cards.html" . }}
- {{ end }}
+ {{- if or hugo.IsProduction (eq site.Params.env "production") -}}
+ {{ template "_internal/schema.html" . }}
+ {{ template "_internal/twitter_cards.html" . }}
+ {{- end -}}