diff --git a/_includes/nav.html b/_includes/nav.html index b594ec2212b8..bf2c369166c0 100644 --- a/_includes/nav.html +++ b/_includes/nav.html @@ -31,8 +31,8 @@ {%- endif -%} {%- endfor -%} - {% if page.navbar-extra %} - {% for file in page.navbar-extra %} + {% if site.navbar-extra %} + {% for file in site.navbar-extra %} {% include {{ file }} %} {% endfor %} {% endif %}