diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 4e348be..ab4496c 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -138,9 +138,12 @@
{{- end }}
-{{- if (and (eq .Kind "page") (.Param "ShowToc") (.Param "TocSide")) }}
+{{- if (and (eq .Kind "page") (.Content) (.Param "ShowToc") (.Param "TocSide")) }}