From 8ea1525df40751af2702a508c3ecf2edf2d76107 Mon Sep 17 00:00:00 2001
From: Seth <37915796+iSaluki@users.noreply.github.com>
Date: Mon, 03 Oct 2022 18:45:54 +0000
Subject: [PATCH] Add SethMB Work (#203)
---
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