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

diff --git a/layouts/index.html b/layouts/index.html
index 466a05a..224c997 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -13,19 +13,10 @@
         {{partial "darkmode.html" .}}
     </header>
     <article>
-        {{ if (and $.Site.Data.config.enableToc (ne .Params.enableToc false)) }}
-        <aside class="mainTOC">
-            <details {{ if $.Site.Data.config.openToc }}open {{ end }}>
-                <summary>Table of Contents</summary>
-                {{ .TableOfContents }}
-            </details>
-        </aside>
-        {{end}}
+        {{partial "toc.html" .}}
         {{partial "textprocessing.html" . }}
     </article>
     {{partial "footer.html" .}}
-    {{partial "popover.html" .}}
 </div>
 </body>
 </html>
-

--
Gitblit v1.10.0