8000
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 778ebdf commit e0950fcCopy full SHA for e0950fc
_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