aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/404.html27
1 files changed, 15 insertions, 12 deletions
diff --git a/layouts/404.html b/layouts/404.html
index cd7bf3a..1068ba6 100644
--- a/layouts/404.html
+++ b/layouts/404.html
@@ -1,18 +1,21 @@
<!DOCTYPE html>
<html lang="{{ .Site.Language.Lang }}">
-<head>
- {{ partial "docs/html-head" . }}
- {{ partial "docs/inject/head" . }}
-</head>
+ <head>
+ {{ partial "docs/html-head" . }}
+ {{ partial "docs/inject/head" . }}
+ </head>
-<body>
- <main class="flex justify-center">
- <h1>404 Not Found</h1>
- </main>
+ <body>
+ <main class="flex justify-center">
+ <div>
+ <h1>404 Not Found</h1>
+ <a href="{{ "/" | relURL }}">Go Home</a>
+ </div>
+ </main>
- {{ partial "docs/inject/body" . }}
- {{ template "_internal/google_analytics_async.html" . }}
-</body>
+ {{ partial "docs/inject/body" . }}
+ {{ template "_internal/google_analytics_async.html" . }}
+ </body>
-</html>
+</html> \ No newline at end of file