-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
29 lines (27 loc) · 993 Bytes
/
index.html
File metadata and controls
29 lines (27 loc) · 993 Bytes
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
<meta http-equiv="refresh" content="0; url=https://activitysim.github.io/" />
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Redirect Page</title>
<script>
window.onload = function() {
const params = new URLSearchParams(window.location.search);
const query = params.get('q');
const base_url = "https://activitysim.github.io/activitysim/v1.3.1/"
if (query === 'docs') {
window.location.href = base_url;
} else if (query === 'skims') {
window.location.href = base_url + 'users-guide/model_anatomy.html#skims';
} else {
// This is the default redirect if no other q's match...
window.location.href = 'https://zephyrtransport.org/ActivitySim/';
}
};
</script>
</head>
<body>
<p>Redirecting...</p>
</body>
</html>