diff --git a/layouts/partials/post_nav.html b/layouts/partials/post_nav.html
index c82f98e..c174fd0 100644
--- a/layouts/partials/post_nav.html
+++ b/layouts/partials/post_nav.html
@@ -1,4 +1,4 @@
-{{- if .Site.Params.post_navigation }}
+{{- if .Param "post_navigation" }}
{{- if or (.PrevInSection) (.NextInSection) }}