diff --git a/src/pydata_sphinx_theme/theme/pydata_sphinx_theme/sections/sidebar-secondary.html b/src/pydata_sphinx_theme/theme/pydata_sphinx_theme/sections/sidebar-secondary.html index 98e4ccda3..a0cd2cb8a 100644 --- a/src/pydata_sphinx_theme/theme/pydata_sphinx_theme/sections/sidebar-secondary.html +++ b/src/pydata_sphinx_theme/theme/pydata_sphinx_theme/sections/sidebar-secondary.html @@ -1,5 +1,7 @@ +{% if meta is defined and not (meta is not none and 'notoc' in meta) %} {% for toc_item in theme_page_sidebar_items %}
{% include toc_item %}
{% endfor %} +{% endif %}