-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.html
More file actions
52 lines (48 loc) · 1.07 KB
/
404.html
File metadata and controls
52 lines (48 loc) · 1.07 KB
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
42
43
44
45
46
47
48
49
50
51
52
---
permalink: /404.html
layout: default
title: Not Found
nav_exclude: true
---
<script>
(function () {
try {
var path = location.pathname || "/";
var lower = path.toLowerCase();
// Attempt a one-time lowercase redirect to handle case-variant URLs.
if (
path !== lower &&
!sessionStorage.getItem("lowercase_redirect_attempted")
) {
sessionStorage.setItem("lowercase_redirect_attempted", "1");
var target = lower + (location.search || "") + (location.hash || "");
location.replace(target);
return;
}
} catch (e) {
/* no-op */
}
})();
</script>
<style>
.container {
margin: 10px auto;
max-width: 600px;
text-align: center;
}
h1 {
margin: 30px 0;
font-size: 4em;
line-height: 1;
letter-spacing: -1px;
}
</style>
<div class="container">
<h1>404</h1>
<p><strong>Page not found</strong></p>
<p>
The requested page could not be found. If you entered a mixed-case URL, try
all lowercase.
</p>
<p><a href="/">Go to FEASTorg home</a></p>
</div>