From 8850976d8dbb9a67d0224ed1ea30bd90fdbf4faa Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Fri, 13 Aug 2021 03:49:05 +0000
Subject: [PATCH] Merge pull request #8 from SlRvb/patch-1
---
layouts/404.html | 16 ++++++++++------
1 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/layouts/404.html b/layouts/404.html
index a27fdf2..8494910 100644
--- a/layouts/404.html
+++ b/layouts/404.html
@@ -3,16 +3,20 @@
{{ partial "head.html" . }}
<body>
-<div>
+<div class="singlePage">
{{partial "darkmode.html" .}}
- <div>
+ <div class="centered">
<h1>404.</h1>
- <h3>Hey! You look a little lost.</h3>
- <ul id="sub-nav">
- <li><a href="/">↳ Let's get you home.</a></li>
- </ul>
+ <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>
</div>
</div>
+
+{{- with resources.Get "darkmode.js" | minify -}}
+<script>
+ {{.Content | safeJS }}
+</script>
+{{- end -}}
</body>
</html>
\ No newline at end of file
--
Gitblit v1.10.0