Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/AmazingRise/hugo-theme-diary.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoramazingrise <8315221+AmazingRise@users.noreply.github.com>2021-05-14 11:25:52 +0300
committeramazingrise <8315221+AmazingRise@users.noreply.github.com>2021-05-14 11:25:52 +0300
commit755df67fc2aae5d27691cce9b572d704afa8b3a3 (patch)
treee2808ac064e474e163ff650fedda079091a60a6d /layouts
parentcc8287964b4d52b203f56efc87181dbbab42979e (diff)
Auto collapse disabled by default.
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/head.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index d142f2d..988ee11 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -65,7 +65,7 @@
{{ end }}
{{ if and (not (.Params.disableToC) ) (.IsPage) }}
- {{ if .Site.Params.disableAutoCollapse }}
+ {{ if not .Site.Params.enableAutoCollapse }}
<script src="{{"/js/toc.js" | relURL}}"></script>
{{ else }}
<script src="{{"/vendor/js/jquery.min.js" | relURL}}" ></script>