-
Notifications
You must be signed in to change notification settings - Fork 0
/
404.html
36 lines (34 loc) · 1.08 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Redirecting you...</title>
<script type="text/javascript">
(function(){
// get new url
var url = new URL(location.href);
url.hostname = 'scikit-hep.org';
// add meta-tag to <head> immediately for crawlers/browsers for proper http redirect
var meta = document.createElement('meta');
meta.httpEquiv='refresh';
meta.content="0; url='"+url.href+"'";
document.head.appendChild(meta);
// add script for fallback in case meta doesn't work
window.addEventListener('load', function () {
document.querySelector('section.redirecting > p').innerHTML = 'Redirecting to <a href="' + url.href + '">' + url.href + '</a> in 5 seconds…';
setTimeout(function(){ location.href = url.href; }, 5000);
});
})();
</script>
</head>
<body>
<header>
<h1>pyhf is part of the SciKit-HEP family!</h1>
<p>Thanks for using us.</p>
</header>
<section class="redirecting">
<h1>Redirecting…</h1>
<p>Please wait. This won’t take long, promise.</p>
</section>
</body>
</html>