diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index e53893da..86db932f 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -17,7 +17,7 @@
{{- block "main" . }}{{ end }}
- {{ partialCached "footer.html" . -}}
+ {{ partialCached "footer.html" . .Layout .Kind -}}