From 84c75d05460dd2974ff04a43f6a770fc31deca63 Mon Sep 17 00:00:00 2001
From: DhammaCharts <100090806+DhammaCharts@users.noreply.github.com>
Date: Mon, 06 Jun 2022 11:56:47 +0000
Subject: [PATCH] Merge branch 'hugo' into hugo

---
 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