-
Notifications
You must be signed in to change notification settings - Fork 1
/
404.html
21 lines (21 loc) · 867 Bytes
/
404.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="initial-scale=1, maximum-scale=1, width=device-width, height=device-height">
<title>u got broken links yo || rohan.xyz</title>
<script type="text/javascript">
(function(){
var wl = window.location, o = wl.origin, p = wl.href.substring(o.length).match(/\/[a-z]+/);
p = p.length > 0 ? p[0].substring(1) : '';
if (['work', 'skills', 'maps', 'photos', 'about'].includes(p)) return window.location = o + wl.href.substring(o.length).replace('/','?');
if (['yaniv', 'ants', 'takes'].includes(p)) return window.location = o + '/labs/' + p;
return window.location = o + '/lost.html';
})()
</script>
<meta name="author" content="Rohan Bhansali">
<link rel="icon" type="image/png" sizes="96x96" href="/assets/favicon/favicon-96x96.png">
</head>
<body>
</body>
</html>