diff options
Diffstat (limited to 'layouts/partials/post')
-rw-r--r-- | layouts/partials/post/toc.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/post/toc.html b/layouts/partials/post/toc.html index 7921065..1cb7804 100644 --- a/layouts/partials/post/toc.html +++ b/layouts/partials/post/toc.html @@ -1,7 +1,7 @@ {{ if and .Site.Params.toc (ne .Params.toc false) }} <div class="post-toc" id="post-toc"> <h2 class="post-toc-title">{{ .Site.Data.even.default.posts.toc }}</h2> - <div class="post-toc-content"> + <div class="post-toc-content{{ if or .Params.autoCollapseToc (and .Site.Params.autoCollapseToc (ne .Params.autoCollapseToc false)) | not }} always-active{{ end }}"> {{.TableOfContents}} </div> </div> |