File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ permalink: /404.html
3+ layout: default
4+ ---
5+
6+ < style type ="text/css " media ="screen ">
7+ .container {
8+ margin : 10px auto;
9+ max-width : 600px ;
10+ text-align : center;
11+ }
12+ h1 {
13+ margin : 30px 0 ;
14+ font-size : 4em ;
15+ line-height : 1 ;
16+ letter-spacing : -1px ;
17+ }
18+ </ style >
19+
20+ < div class ="container ">
21+ < h1 > 404</ h1 >
22+
23+ < p > < strong > Page not found :(</ strong > </ p >
24+ < p > The requested page could not be found.</ p >
25+
26+ < script type ="text/javascript ">
27+ // GitHub Pages SPA redirect workaround
28+ var pathSegmentsToKeep = 0 ; // Set to 0 for default github.io domains
29+
30+ var l = window . location ;
31+ l . replace (
32+ l . protocol + '//' + l . hostname + ( l . port ? ':' + l . port : '' ) +
33+ l . pathname . split ( '/' ) . slice ( 0 , 1 + pathSegmentsToKeep ) . join ( '/' ) + '/?/' +
34+ l . pathname . slice ( 1 ) . split ( '/' ) . slice ( pathSegmentsToKeep ) . join ( '/' ) . replace ( / & / g, '~and~' ) +
35+ ( l . search ? '&' + l . search . slice ( 1 ) . replace ( / & / g, '~and~' ) : '' ) +
36+ l . hash
37+ ) ;
38+ </ script >
39+ </ div >
You can’t perform that action at this time.
0 commit comments