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 |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/layouts/index.html b/layouts/index.html
index d449c27..ee33d7c 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -13,12 +13,7 @@
         {{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}}
+        {{partial "toc.html" .}} 
         {{partial "textprocessing.html" . }}
     </article>
     {{partial "footer.html" .}}

--
Gitblit v1.10.0