From 775a1b2490883e1eefa1c87f5477007365d694d6 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Sat, 28 May 2022 02:21:05 +0000
Subject: [PATCH] Merge pull request #137 from aidenybai/fix-non-spa-routing
---
layouts/404.html | 10 ++--------
1 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/layouts/404.html b/layouts/404.html
index 8494910..4248395 100644
--- a/layouts/404.html
+++ b/layouts/404.html
@@ -8,15 +8,9 @@
<div class="centered">
<h1>404.</h1>
<h3>Hey! You look a little lost. This page doesn't exist (or may be private).</h3>
- <a href="/">↳ Let's get you home.</a>
+ <a href="{{ .Site.BaseURL }}">↳ Let's get you home.</a>
</div>
</div>
-
-{{- with resources.Get "darkmode.js" | minify -}}
-<script>
- {{.Content | safeJS }}
-</script>
-{{- end -}}
</body>
-</html>
\ No newline at end of file
+</html>
--
Gitblit v1.10.0