From a275123be2b1d528dbde23beb9880933c4e22c3e Mon Sep 17 00:00:00 2001
From: DhammaCharts <100090806+DhammaCharts@users.noreply.github.com>
Date: Thu, 02 Jun 2022 07:35:28 +0000
Subject: [PATCH] better font behaviour

---
 layouts/index.html |   16 +++++-----------
 1 files changed, 5 insertions(+), 11 deletions(-)

diff --git a/layouts/index.html b/layouts/index.html
index 466a05a..5053614 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -13,19 +13,13 @@
         {{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" . }}
+        {{if $.Site.Data.config.enableRecentNotes}}
+          {{partial "recent.html" . }}
+        {{end}}
     </article>
-    {{partial "footer.html" .}}
-    {{partial "popover.html" .}}
+    {{partial "footerIndex.html" .}}
 </div>
 </body>
 </html>
-

--
Gitblit v1.10.0