diff --git a/material/base.html b/material/base.html index da4785752..e7811eeca 100644 --- a/material/base.html +++ b/material/base.html @@ -145,7 +145,7 @@ {% endif %} - {% if page.toc and not "toc.integrate" in features %} + {% if not "toc.integrate" in features %} {% if page and page.meta and page.meta.hide %} {% set hidden = "hidden" if "toc" in page.meta.hide %} {% endif %} diff --git a/src/base.html b/src/base.html index b98d8fa06..c02a83bd1 100644 --- a/src/base.html +++ b/src/base.html @@ -270,7 +270,7 @@ {% endif %} - {% if page.toc and not "toc.integrate" in features %} + {% if not "toc.integrate" in features %} {% if page and page.meta and page.meta.hide %} {% set hidden = "hidden" if "toc" in page.meta.hide %} {% endif %}