Skip to content

Commit be24d05

Browse files
authored
Update index.html
1 parent 8c1c6c0 commit be24d05

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

index.html

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,29 @@
11
<meta http-equiv="refresh" content="0; url=https://research.ampo.org/activitysim/" />
2+
3+
<!DOCTYPE html>
4+
<html lang="en">
5+
<head>
6+
<meta charset="UTF-8">
7+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
8+
<title>Redirect Page</title>
9+
<script>
10+
window.onload = function() {
11+
const params = new URLSearchParams(window.location.search);
12+
const query = params.get('q');
13+
const base_url = "https://activitysim.github.io/activitysim/v1.3.1/"
14+
15+
if (query === 'docs') {
16+
window.location.href = base_url;
17+
} else if (query === 'skims') {
18+
window.location.href = base_url + 'users-guide/model_anatomy.html#skims';
19+
} else {
20+
// This is the default redirect if no other q's match...
21+
window.location.href = 'https://research.ampo.org/activitysim';
22+
}
23+
};
24+
</script>
25+
</head>
26+
<body>
27+
<p>Redirecting...</p>
28+
</body>
29+
</html>

0 commit comments

Comments
 (0)