From 8c078104847c7f0698407a3b97ab106f43d6aad2 Mon Sep 17 00:00:00 2001 From: olOwOlo <26087907+olOwOlo@users.noreply.github.com> Date: Tue, 5 Dec 2017 22:32:09 +0800 Subject: fix: compatible with config.toml file without the `autoCollapseToc` parameter --- layouts/partials/post/toc.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'layouts/partials') 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) }}