forked from deepStateMirrors/tabi
✨ feat: set Table of Contents per page, not globally
This commit is contained in:
parent
cc93f9fb7f
commit
32d4a9358c
3 changed files with 4 additions and 2 deletions
|
@ -119,7 +119,7 @@
|
|||
{% endif %}
|
||||
|
||||
{# Optional table of contents #}
|
||||
{% if config.extra.toc | default(value=false) %}
|
||||
{% if page.extra.toc | default(value=false) %}
|
||||
{% if page.toc %}
|
||||
<h2>Table of Contents</h2>
|
||||
<ul>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue