diff --git a/docs/_includes/header.html b/docs/_includes/header.html
index a387930baf..a47837b493 100644
--- a/docs/_includes/header.html
+++ b/docs/_includes/header.html
@@ -14,7 +14,7 @@
-{% if layout == "default" %}
+{% if page.layout == default %}