diff --git a/layouts/404.html b/layouts/404.html
index aab2e1f..ab966ff 100644
--- a/layouts/404.html
+++ b/layouts/404.html
@@ -1,3 +1,3 @@
-{{ partial "header.html" . }}
+{{- partial "header.html" . }}
404
-{{ partial "footer.html" . }}
\ No newline at end of file
+{{- partial "footer.html" . }}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 896588a..f32960a 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,28 +1,28 @@
-{{ partial "header.html" . }}
+{{- partial "header.html" . }}
{{ .Content }}
- {{ if .Params.tags }}
+ {{- if .Params.tags }}
- {{ end }}
+ {{- end }}
- {{ if not (eq .Params.comments false) }}
- {{ if .Site.DisqusShortname }}
+ {{- if not (eq .Params.comments false) }}
+ {{- if .Site.DisqusShortname }}
-
+