Skip to content

Commit b8c42b0

Browse files
committed
Add surface to 404 page
Signed-off-by: Alan Fernandes <alan@cipher.host>
1 parent 146b474 commit b8c42b0

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

static/templates/404.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,14 @@
3131
</head>
3232

3333
<body id="notFound" class="notFound">
34-
{{template "skipLink"}}
35-
36-
{{template "header" .}}
34+
{{template "skipLink"}} {{template "header" .}}
3735

3836
<main role="main" id="main" class="notFound__main">
3937
<h1 class="notFound__title">404 <span>Not Found</span></h1>
38+
<div class="notFound__help uSurface">
39+
<p class="notFound__text">
40+
The package or page <code>{{.Path}}</code> could not be found.
41+
</p>
4042
<a class="notFound__link a" href="/">Return to homepage</a>
4143
</div>
4244
</main>

0 commit comments

Comments
 (0)