mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Always render table of contents container (except when hidden)
This commit is contained in:
parent
c450d16db6
commit
8264e338fb
@ -145,7 +145,7 @@
|
||||
</div>
|
||||
</div>
|
||||
{% 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 %}
|
||||
|
@ -270,7 +270,7 @@
|
||||
{% endif %}
|
||||
|
||||
<!-- Table of contents -->
|
||||
{% 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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user