diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 207a4f2..77b25a9 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -1,5 +1,5 @@
-
+
{{- partial "head.html" . -}}
@@ -7,6 +7,5 @@
{{- block "main" . }}{{- end }}
-
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 8524c94..4faa036 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -18,5 +18,4 @@
{{ $style := $sass | resources.ToCSS $options }}
{{ if .Params.mathjax }} {{ partial "mathjax.html" . }} {{ end }}
-
diff --git a/layouts/posts/baseof.html b/layouts/posts/baseof.html
index 79b2ec2..b2d4e69 100644
--- a/layouts/posts/baseof.html
+++ b/layouts/posts/baseof.html
@@ -1,5 +1,5 @@
-
+
{{- partial "head.html" . -}}
@@ -7,7 +7,6 @@
{{- block "main" . }}{{- end }}
-
{{- if .Params.custom_js -}}
{{- range .Params.custom_js -}}