- {{- range .Pages }}
+ {{- range .Pages }}
{{- if eq .Kind "page" }}
@@ -40,4 +40,4 @@
{{- end }}
{{- end }}
-{{- end }}{{/* end main */}}
+{{- end }}{{/* end main */}}
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 8f17b93..20c6fbf 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -13,12 +13,11 @@
{{- print " dark" }}
{{- end -}}
" id="top">
- {{- partialCached "header.html" . .Page}}
+ {{- partialCached "header.html" . .Page -}}
- {{- block "main" . }}
- {{- end }}
+ {{- block "main" . }}{{ end }}
- {{- partialCached "footer.html" . .Type .Layout .Params }}
+ {{ partialCached "footer.html" . .Type .Layout .Params -}}