diff --git a/layouts/partials/site-footer.html b/layouts/partials/site-footer.html
index 0aca849..22da2db 100644
--- a/layouts/partials/site-footer.html
+++ b/layouts/partials/site-footer.html
@@ -7,10 +7,10 @@
{{ end }}
- {{ if (fileExists "contact.md") }}
+ {{ with .GetPage "contact.md" }}
{{ end }}
{{ with .Site.Params.GeekblogLegalNotice }}