11<!DOCTYPE html>
22< html lang ="en ">
3+ < head >
4+ < meta charset ="UTF-8 ">
5+ < meta http-equiv ="X-UA-Compatible " content ="IE=edge ">
6+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
7+ < title > Error 404 - Page Not Found</ title >
38
4- < head >
5- < meta charset ="UTF-8 ">
6- < meta http-equiv ="X-UA-Compatible " content ="IE=edge ">
7- < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
8- < title > Error 404 - Page Not Found</ title >
9+ <!-- Favicon -->
10+ < link rel ="icon " type ="image/x-icon " href ="/assets/favicon.ico ">
911
10- <!-- Favicon -->
11- < link rel ="icon " type ="image/x-icon " href ="/assets/favicon.ico ">
12+ <!-- Stylesheets -->
13+ < link rel ="stylesheet " href ="/styles/404.css ">
14+ </ head >
1215
13- <!-- Stylesheets -->
14- < link rel ="stylesheet " href ="/styles/404.css ">
15- </ head >
16+ < body >
17+ < div class ="error-container ">
18+ < h1 > Error 404 - Page Not Found</ h1 >
19+ < p > The page you are looking for might have been removed or is temporarily unavailable.</ p >
20+ < p > Go back to the < a href ="/ "> homepage</ a > .</ p >
21+ </ div >
22+ </ body >
1623
17- < body >
18- < div class ="error-container ">
19- < h1 > Error 404 - Page Not Found</ h1 >
20- < p > The page you are looking for might have been removed or is temporarily unavailable.</ p >
21- < p > Go back to the < a href ="/ "> homepage</ a > .</ p >
22- </ div >
23- </ body >
24+ < script >
25+ const path = window . location . pathname ;
26+ const search = window . location . search ;
27+ const hash = window . location . hash ;
2428
25- </ html >
29+ if ( path . startsWith ( "/docs/" ) ) {
30+ const target = "https://docs.is-a.dev" + path . replace ( / ^ \/ d o c s / , '' ) + search + hash ;
31+ window . location . replace ( target ) ;
32+ }
33+ </ script >
34+ </ html >
0 commit comments