Skip to content

Commit ed9f429

Browse files
committed
Install a 404 page
The 404 page will simply redirect, just like the `index.html` page. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent f19eb71 commit ed9f429

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

404.html

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<title>Redirecting&hellip;</title>
6+
<link rel="canonical" href="https://git-scm.com/book/en/v2">
7+
<meta http-equiv="refresh" content="0; url=https://git-scm.com/book/en/v2">
8+
<meta name="robots" content="noindex">
9+
</head>
10+
<body>
11+
<script>window.location.replace(document.querySelector("link[rel='canonical']").href + window.location.hash)</script>
12+
<h1>Redirecting&hellip;</h1>
13+
<a href="https://git-scm.com/book/en/v2">Click here if you are not redirected.</a>
14+
</body>
15+
</html>

0 commit comments

Comments
 (0)