-
Notifications
You must be signed in to change notification settings - Fork 0
/
404.html
41 lines (38 loc) · 5.95 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
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Redirecting...</title>
<script type="text/javascript">
// Single Page Apps for GitHub Pages
// https://github.com/rafrex/spa-github-pages
// Copyright (c) 2016 Rafael Pedicini, licensed under the MIT License
// ----------------------------------------------------------------------
// This script takes the current url and converts the path and query
// string into just a query string, and then redirects the browser
// to the new url with only a query string and hash fragment,
// e.g. http://www.foo.tld/one/two?a=b&c=d#qwe, becomes
// http://www.foo.tld/?p=/one/two&q=a=b~and~c=d#qwe
// Note: this 404.html file must be at least 512 bytes for it to work
// with Internet Explorer (it is currently > 512 bytes)
// If you're creating a Project Pages site and NOT using a custom domain,
// then set segmentCount to 1 (enterprise users may need to set it to > 1).
// This way the code will only replace the route part of the path, and not
// the real directory in which the app resides, for example:
// https://username.github.io/repo-name/one/two?a=b&c=d#qwe becomes
// https://username.github.io/repo-name/?p=/one/two&q=a=b~and~c=d#qwe
// Otherwise, leave segmentCount as 0.
var segmentCount = 1;
var l = window.location;
l.replace(
l.protocol + '//' + l.hostname + (l.port ? ':' + l.port : '') +
l.pathname.split('/').slice(0, 1 + segmentCount).join('/') + '/?p=/' +
l.pathname.slice(1).split('/').slice(segmentCount).join('/').replace(/&/g, '~and~') +
(l.search ? '&q=' + l.search.slice(1).replace(/&/g, '~and~') : '') +
l.hash
);
</script>
<meta name="mobile-web-app-capable" content="yes"><meta name="theme-color" content="#fff"><meta name="application-name" content="Zent"><link rel="apple-touch-icon" sizes="57x57" href="/zent-v8/favico-2e036e3efaeb4f9423c4039c5127f224-apple-touch-icon-57x57.png"><link rel="apple-touch-icon" sizes="60x60" href="/zent-v8/favico-2e036e3efaeb4f9423c4039c5127f224-apple-touch-icon-60x60.png"><link rel="apple-touch-icon" sizes="72x72" href="/zent-v8/favico-2e036e3efaeb4f9423c4039c5127f224-apple-touch-icon-72x72.png"><link rel="apple-touch-icon" sizes="76x76" href="/zent-v8/favico-2e036e3efaeb4f9423c4039c5127f224-apple-touch-icon-76x76.png"><link rel="apple-touch-icon" sizes="114x114" href="/zent-v8/favico-2e036e3efaeb4f9423c4039c5127f224-apple-touch-icon-114x114.png"><link rel="apple-touch-icon" sizes="120x120" href="/zent-v8/favico-2e036e3efaeb4f9423c4039c5127f224-apple-touch-icon-120x120.png"><link rel="apple-touch-icon" sizes="144x144" href="/zent-v8/favico-2e036e3efaeb4f9423c4039c5127f224-apple-touch-icon-144x144.png"><link rel="apple-touch-icon" sizes="152x152" href="/zent-v8/favico-2e036e3efaeb4f9423c4039c5127f224-apple-touch-icon-152x152.png"><link rel="apple-touch-icon" sizes="180x180" href="/zent-v8/favico-2e036e3efaeb4f9423c4039c5127f224-apple-touch-icon-180x180.png"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"><meta name="apple-mobile-web-app-title" content="Zent"><link rel="icon" type="image/png" sizes="32x32" href="/zent-v8/favico-2e036e3efaeb4f9423c4039c5127f224-favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/zent-v8/favico-2e036e3efaeb4f9423c4039c5127f224-favicon-16x16.png"><link rel="shortcut icon" href="/zent-v8/favico-2e036e3efaeb4f9423c4039c5127f224-favicon.ico"><link rel="apple-touch-startup-image" media="(device-width: 320px) and (device-height: 480px) and (-webkit-device-pixel-ratio: 1)" href="/zent-v8/favico-2e036e3efaeb4f9423c4039c5127f224-apple-touch-startup-image-320x460.png"><link rel="apple-touch-startup-image" media="(device-width: 320px) and (device-height: 480px) and (-webkit-device-pixel-ratio: 2)" href="/zent-v8/favico-2e036e3efaeb4f9423c4039c5127f224-apple-touch-startup-image-640x920.png"><link rel="apple-touch-startup-image" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2)" href="/zent-v8/favico-2e036e3efaeb4f9423c4039c5127f224-apple-touch-startup-image-640x1096.png"><link rel="apple-touch-startup-image" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2)" href="/zent-v8/favico-2e036e3efaeb4f9423c4039c5127f224-apple-touch-startup-image-750x1294.png"><link rel="apple-touch-startup-image" media="(device-width: 414px) and (device-height: 736px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 3)" href="/zent-v8/favico-2e036e3efaeb4f9423c4039c5127f224-apple-touch-startup-image-1182x2208.png"><link rel="apple-touch-startup-image" media="(device-width: 414px) and (device-height: 736px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 3)" href="/zent-v8/favico-2e036e3efaeb4f9423c4039c5127f224-apple-touch-startup-image-1242x2148.png"><link rel="apple-touch-startup-image" media="(device-width: 768px) and (device-height: 1024px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 1)" href="/zent-v8/favico-2e036e3efaeb4f9423c4039c5127f224-apple-touch-startup-image-748x1024.png"><link rel="apple-touch-startup-image" media="(device-width: 768px) and (device-height: 1024px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 1)" href="/zent-v8/favico-2e036e3efaeb4f9423c4039c5127f224-apple-touch-startup-image-768x1004.png"><link rel="apple-touch-startup-image" media="(device-width: 768px) and (device-height: 1024px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2)" href="/zent-v8/favico-2e036e3efaeb4f9423c4039c5127f224-apple-touch-startup-image-1496x2048.png"><link rel="apple-touch-startup-image" media="(device-width: 768px) and (device-height: 1024px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2)" href="/zent-v8/favico-2e036e3efaeb4f9423c4039c5127f224-apple-touch-startup-image-1536x2008.png"></head>
<body>
</body>
</html>