We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42d8d3c commit ff8fbcdCopy full SHA for ff8fbcd
_includes/toc.html
@@ -6,8 +6,8 @@
6
{% endif %}
7
8
{% if enable_toc %}
9
- <section id="toc-wrapper" class="ps-0 pe-4">
10
- <h2 class="panel-heading ps-3 pt-2 mb-2">{{- site.data.locales[include.lang].panel.toc -}}</h2>
+ <section id="toc-wrapper" class="d-none ps-0 pe-4">
+ <h2 class="panel-heading ps-3 mb-2">{{- site.data.locales[include.lang].panel.toc -}}</h2>
11
<nav id="toc"></nav>
12
</section>
13
_javascript/modules/components/toc.js
@@ -9,5 +9,7 @@ export function toc() {
orderedList: false,
scrollSmooth: false
});
+
+ document.getElementById('toc-wrapper').classList.remove('d-none');
14
}
15
0 commit comments