From e302f6c423136d1dbdfda48c2b241e62bb5654e7 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Fri, 06 May 2022 00:35:32 +0000
Subject: [PATCH] fix: more generic style to match bad nesting generated by popover interp

---
 layouts/index.html |    9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)

diff --git a/layouts/index.html b/layouts/index.html
index d449c27..224c997 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -13,17 +13,10 @@
         {{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" .}}
-    {{partial "popover.html" .}}
 </div>
 </body>
 </html>
-

--
Gitblit v1.10.0