From e15e39155de54dc1624bab80eefbccd6a783cd0c Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Fri, 15 Jul 2022 21:26:31 +0000
Subject: [PATCH] fix: give precedence to date created over last modified if defined (#101)

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

diff --git a/layouts/index.html b/layouts/index.html
index a68d61f..c7871e9 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,15 +1,20 @@
-{{define "head"}}
+<!DOCTYPE html>
+<html lang="{{ .Lang }}">
 {{ partial "head.html" . }}
-{{end}}
 
-{{define "main"}}
-<!-- Main Page -->
+<body>
+{{partial "search.html" .}}
 <div class="singlePage">
-    {{.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>
-{{end}}
\ No newline at end of file
+</body>
+</html>

--
Gitblit v1.10.0