/
page-not-available.html
58 lines (53 loc) · 1.7 KB
/
page-not-available.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
---
layout: ballerina-no-git-inner-page
redirect_from:
- /learn/page-not-available/
- /swan-lake/page-not-available/
- /swan-lake/learn/page-not-available/
- /learn/page-not-available
- /swan-lake/page-not-available
- /swan-lake/learn/page-not-available
---
<!--<script src="/js/redirections.js" type="application/javascript"></script>-->
<!-- <style type="text/css" media="screen">
.container {
margin: 10px auto;
max-width: 600px;
text-align: center;
}
h1 {
margin: 30px 0;
font-size: 4em;
line-height: 1;
letter-spacing: -1px;
}
</style>
<script>
//Handling bulk redirections
var pathname = window.location.pathname;
var redirection = validate_redirection(pathname);
if (redirection.type == "versioned") {
var new_path = pathname.replace('v', '').replace('-', '.');
document.write('<meta http-equiv="refresh" content="0; url=' + new_path + '">');
} else if(redirection.type == "path" && typeof redirection.dest != "undefined"){
var new_path = redirection.dest;
document.write('<meta http-equiv="refresh" content="0; url=' + new_path + '">');
}else {
$('body').show();
}
</script>-->
<div class="container">
<h1>Oops, we are sorry.</h1>
<p><strong>The page you are looking for is not available for this Ballerina version.</strong></p>
<p>You can either <a href="#" onclick="history.go(-1);return false;">go back</a> to the previous page, use other
keywords to <a href="/learn/">search,</a> or contact the <a href="https://ballerina-platform.slack.com/">Ballerina
Team</a>.</p>
</div>
<style>
#table-of-content,
.cVersionItem,
#versions,
.icon.icon-github {
display: none !important;
}
</style>