From d197e191428ce765583009a24d28555c80570755 Mon Sep 17 00:00:00 2001
From: jackyzha0 <j.zhao2k19@gmail.com>
Date: Mon, 19 Jul 2021 20:30:36 +0000
Subject: [PATCH] fix 404 styling

---
 layouts/404.html |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/layouts/404.html b/layouts/404.html
index a27fdf2..232fada 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>
+        <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