diff --git a/layouts/partials/post/toc.html b/layouts/partials/post/toc.html index 1cb7804..35e6da6 100644 --- a/layouts/partials/post/toc.html +++ b/layouts/partials/post/toc.html @@ -1,8 +1,9 @@ {{ if and .Site.Params.toc (ne .Params.toc false) }}

{{ .Site.Data.even.default.posts.toc }}

-
- {{.TableOfContents}} + {{ $globalAutoCollapseToc := .Site.Params.autoCollapseToc | default true }} +
+ {{.TableOfContents}}
{{- end }} \ No newline at end of file