Skip to content

Commit

Permalink
Install a 404 page
Browse files Browse the repository at this point in the history
The 404 page will simply redirect, just like the `index.html` page.

Signed-off-by: Johannes Schindelin <[email protected]>
  • Loading branch information
dscho committed Sep 25, 2024
1 parent f19eb71 commit ed9f429
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Redirecting&hellip;</title>
<link rel="canonical" href="https://git-scm.com/book/en/v2">
<meta http-equiv="refresh" content="0; url=https://git-scm.com/book/en/v2">
<meta name="robots" content="noindex">
</head>
<body>
<script>window.location.replace(document.querySelector("link[rel='canonical']").href + window.location.hash)</script>
<h1>Redirecting&hellip;</h1>
<a href="https://git-scm.com/book/en/v2">Click here if you are not redirected.</a>
</body>
</html>

0 comments on commit ed9f429

Please sign in to comment.