From c8d390dbc5a749af533f1ec05de2d5b6f37fa156 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Thu, 28 Apr 2022 20:45:29 +0000
Subject: [PATCH] fix: always hide popover on mobile (fixes #104)

---
 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