diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index e53893d..86db932 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 -}}