-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
404.html
31 lines (28 loc) · 1.02 KB
/
404.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
layout: page
permalink: /404.html
title: " "
description: " "
redirect: true
---
<p class="redirect-info"></p>
<script>
var target_url = (window.location.pathname || '').replace(/\/*$/g,'');
if(target_url === '/~dongsuh') {
location.replace('/team/dongsuh');
} else if(target_url === '/~livenas') {
location.replace('/projects/livenas');
} else if(target_url === '/~nas') {
location.replace('/projects/nas');
} else if(target_url === '/~nemo') {
location.replace('/projects/nemo');
} else if(target_url === '/~brad') {
location.replace('/team/brad');
} else {
setTimeout(function() {
$('.post-title').text('Page not found');
$('.post-description').text("Looks like there has been a mistake. Nothing exists here.");
$('.redirect-info').html('You will be redirected to the main page within 3 seconds. If not redirected, please click <a href="{{ site.baseurl | prepend: site.url }}/">here</a>.');
}, 100)
}
</script>