From ca84da5b31fa00ca6c729a9b500efeb28f90b41b Mon Sep 17 00:00:00 2001
From: Nikola Georgiev <42315052+nikolageorgiev2000@users.noreply.github.com>
Date: Mon, 12 Sep 2022 00:05:14 +0000
Subject: [PATCH] feat: Hide full path to file in Wikilinks by default (#195)

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

diff --git a/layouts/index.html b/layouts/index.html
index 83f6fb8..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>
-        {{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