Skip to content

Commit 58f8c32

Browse files
committed
better 404 again
1 parent 115fe21 commit 58f8c32

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

layouts/-save.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{{ define "main" }}
2+
<main id="main">
3+
<div>
4+
<h1 id="title"><a href="{{ "" | relURL }}">Go Home</a></h1>
5+
</div>
6+
</main>
7+
{{ end }}

layouts/404.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
<div>
44
<h1 id="title">Page Not Found</h1>
55
<p>The page or document you were trying to reach does not exist. It might have been moved or removed. If you are following a link from some other source, please let us know so we can correct the problem.</p>
6-
<p>Please check the URL for typos or visit our homepage.</p>
7-
<a href="{{ "" | relURL }}">Go Home</a>
6+
<p>Please check the URL for typos or
7+
<a href="{{ "" | relURL }}">visit our homepage</a>.</p>
88
</div>
99
</main>
1010
{{ end }}

0 commit comments

Comments
 (0)