forked from slimphp/Slim-Website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
404.html
22 lines (18 loc) · 607 Bytes
/
404.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
---
# example 404.md
layout: default
permalink: /404.html
---
# 404
Page not found! :(
<script>
if (window.location.pathname.indexOf('/docs/') !== -1) {
if (window.location.pathname.indexOf('/v4/') !== -1) {
window.location = '/docs/v4' + window.location.pathname.substr(5);
} else if (window.location.pathname.indexOf('/v3/') !== -1) {
window.location = '/docs/v3' + window.location.pathname.substr(5);
} else if (window.location.pathname.indexOf('/v2/') !== -1) {
window.location = '/docs/v2' + window.location.pathname.substr(5);
}
}
</script>