Skip to content

Commit

Permalink
Redirect to home page on 404
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed Aug 1, 2023
1 parent 3b156e5 commit 288a11d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions layouts/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="refresh" content="0; URL='{{ $.Site.BaseURL }}'" />
</head>
<body>
</body>
</html>

0 comments on commit 288a11d

Please sign in to comment.