aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorundergroundwires <undergroundwires@users.noreply.github.com>2020-03-13 17:13:36 +0000
committerGitHub <noreply@github.com>2020-03-13 18:13:36 +0100
commitd7def135c90575c0fadb66e97b546046d57df83b (patch)
treec0905d801ca13f1f3018e88eef36e4e14c5ce44b
parent6e5d35a5abb40488c49531db171b822c1cb1f537 (diff)
added go home url #172 (#178)
* added go home url #172 * wrapped in a div #172 * removed h2 #172 * fixed indenting #172
-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