From 0d1670adbaa63e4972bd560efd3c046eb03e48ca Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Mon, 29 Aug 2022 18:23:19 +0000
Subject: [PATCH] Merge branch 'hugo' of https://github.com/jackyzha0/quartz into hugo

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

diff --git a/layouts/index.html b/layouts/index.html
index 5dccbf9..c7871e9 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,22 +1,20 @@
-{{define "head"}}
+<!DOCTYPE html>
+<html lang="{{ .Lang }}">
 {{ partial "head.html" . }}
-{{end}}
 
-{{define "main"}}
-<!-- Main Page -->
+<body>
+{{partial "search.html" .}}
 <div class="singlePage">
-    {{partial "darkmode.html" .}}
-    {{.Content}}
-
-    <!-- Contact Info -->
-    <div class="lt-centre">
-        {{partial "footer.html" .}}
-    </div>
+    <!-- Begin actual content -->
+    {{partial "header.html" .}}
+    <article>
+        {{partial "toc.html" .}}
+        {{partial "textprocessing.html" . }}
+        {{if $.Site.Data.config.enableRecentNotes}}
+          {{partial "recent.html" . }}
+        {{end}}
+    </article>
+    {{partial "footerIndex.html" .}}
 </div>
-
-{{- with resources.Get "darkmode.js" | minify -}}
-<script>
-  {{.Content | safeJS }}
-</script>
-{{- end -}}
-{{end}}
\ No newline at end of file
+</body>
+</html>

--
Gitblit v1.10.0