From c8d390dbc5a749af533f1ec05de2d5b6f37fa156 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Thu, 28 Apr 2022 20:45:29 +0000
Subject: [PATCH] fix: always hide popover on mobile (fixes #104)
---
layouts/index.html | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
diff --git a/layouts/index.html b/layouts/index.html
index f0cd68e..ee33d7c 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -13,13 +13,8 @@
{{partial "darkmode.html" .}}
</header>
<article>
- {{ if (and $.Site.Data.config.enableToc (not (.Params.disableToc))) }}
- <aside class="mainTOC">
- <h3>Table of Contents</h3>
- {{ .TableOfContents }}
- </aside>
- {{end}}
- {{- .Content -}}
+ {{partial "toc.html" .}}
+ {{partial "textprocessing.html" . }}
</article>
{{partial "footer.html" .}}
{{partial "popover.html" .}}
--
Gitblit v1.10.0