summaryrefslogtreecommitdiffstats
path: root/layouts
diff options
context:
space:
mode:
authoramzrk22020-10-19 09:41:56 +0800
committeramzrk22020-10-19 09:41:56 +0800
commitc699ae690e421b30416a9b6f2d6ba6a68de69525 (patch)
treefc6a50267f548b0197d75fa5f398ccf8d6c14e54 /layouts
parent5ad25342d238848a90a961891c7a7537be50899b (diff)
downloadhugo-theme-fuji-c699ae690e421b30416a9b6f2d6ba6a68de69525.tar.gz
hugo-theme-fuji-c699ae690e421b30416a9b6f2d6ba6a68de69525.tar.bz2
hugo-theme-fuji-c699ae690e421b30416a9b6f2d6ba6a68de69525.zip
fix: try fix toc issue #55
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/sidebar.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html
index 9205149..dae09a0 100644
--- a/layouts/partials/sidebar.html
+++ b/layouts/partials/sidebar.html
@@ -34,7 +34,7 @@
</div>
<!-- in-post toc -->
{{ if in .Site.Params.mainSections .Type }}
- {{ if and (or .Site.Params.showToc .Params.showToc) (ne .Params.showToc false) }}
+ {{ if and (ne .Site.Params.showToc false) (ne .Params.showToc false) }}
<div class="sidebar-item sidebar-toc">
<h3>{{ i18n "sidebarToc" }}</h3>
{{ .TableOfContents }}