From 3583265f80afa081bf7a1fe996a9b3fe3c4e32e0 Mon Sep 17 00:00:00 2001
From: meleu <meleu@users.noreply.github.com>
Date: Mon, 04 Apr 2022 20:30:23 +0000
Subject: [PATCH] docs: warn about possible lost of customization
---
layouts/index.html | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/layouts/index.html b/layouts/index.html
index 17b6917..466a05a 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -13,15 +13,18 @@
{{partial "darkmode.html" .}}
</header>
<article>
- {{ if (and $.Site.Data.config.enableToc (not (.Params.disableToc))) }}
+ {{ if (and $.Site.Data.config.enableToc (ne .Params.enableToc false)) }}
<aside class="mainTOC">
- <h3>Table of Contents</h3>
- {{ .TableOfContents }}
+ <details {{ if $.Site.Data.config.openToc }}open {{ end }}>
+ <summary>Table of Contents</summary>
+ {{ .TableOfContents }}
+ </details>
</aside>
{{end}}
- {{- .Content -}}
+ {{partial "textprocessing.html" . }}
</article>
{{partial "footer.html" .}}
+ {{partial "popover.html" .}}
</div>
</body>
</html>
--
Gitblit v1.10.0