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-13 12:51:56 +0300
committeramazingrise <8315221+AmazingRise@users.noreply.github.com>2021-05-13 12:51:56 +0300
commitab30bee76c69e4e60fdac01ed4b9ea776d7f0f0f (patch)
treedc59ff9ad690c2f6885398b80606d10adc68ff06 /layouts
parenta8e17536dcd289a797970dc072b4761bc300b7d3 (diff)
Fix disableToC.
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/extrabar.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/extrabar.html b/layouts/partials/extrabar.html
index 0fc84fb..c34ab35 100644
--- a/layouts/partials/extrabar.html
+++ b/layouts/partials/extrabar.html
@@ -3,7 +3,7 @@
<script async src="https://cse.google.com/cse.js?cx={{.Site.Params.googleSearchCode}}"></script>
<div class="gcse-searchbox-only" mobileLayout="true"></div>
{{ end }}
- {{ if and (not (.Site.Params.disableToC) ) (.IsPage) }}
+ {{ if and (not (.Params.disableToC) ) (.IsPage) }}
<div class="toc animated-visibility" :class="{ invisible: scrollY <= 140 }">
{{- partial "toc.html" . -}}
</div>