diff --git a/layouts/index.html b/layouts/index.html
index b035676..7d3c22c 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -3,7 +3,7 @@
{{ $pages := .Resources.ByType "page" }}
{{ range sort $pages "Params.weight" }}
- {{ with .File }}
{{ end }}
+ {{ with .File }}
{{ end }}
{{ .Content }}
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 09d0176..c89bad1 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -10,7 +10,7 @@
{{ range sort $pages "Params.weight" }}
{{ if .Title }}
- {{ .Title }}
+ {{ .Title }}
{{ end }}
{{ end }}