diff --git a/_includes/toc.html b/_includes/toc.html index 604d2c1..15eb934 100644 --- a/_includes/toc.html +++ b/_includes/toc.html @@ -6,8 +6,8 @@ {% endif %} {% if enable_toc %} -
-

{{- site.data.locales[include.lang].panel.toc -}}

+
+

{{- site.data.locales[include.lang].panel.toc -}}

{% endif %} diff --git a/_javascript/modules/components/toc.js b/_javascript/modules/components/toc.js index b397813..56ce26f 100644 --- a/_javascript/modules/components/toc.js +++ b/_javascript/modules/components/toc.js @@ -9,5 +9,7 @@ export function toc() { orderedList: false, scrollSmooth: false }); + + document.getElementById('toc-wrapper').classList.remove('d-none'); } }