forked from cloudify-cosmo/getcloudify.org
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path404.html
34 lines (30 loc) · 924 Bytes
/
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
---
layout: bt_default
title: Oops, Page Not Found. Cloudify - The Devops Automation Platform
cat: 404
---
<script type="text/javascript">
if ( !( $(location).attr("href").match("\.html$") ) ) {
var newPage = $(location).attr("href") + ".html";
//alert("404.html newPage: " + newPage);
$(location).attr("href", newPage);
}
else {
if ( $(location).attr("href").match("^.*/guide/.*$") ) {
if ( !( $(location).attr("href").match("^.*/guide/\\d+\.\\d+.*$") ) ) {
var parts = $(location).attr("href").split("/guide/");
var newPage2 = parts[0] + "/guide/2.7/" + parts[1];
//alert("newPage2: " + newPage2);
$(location).attr("href", newPage2);
}
}
}
</script>
<div class="contentWrap">
<section id="content">
<p align="center">
<a style="border:none !important;" href="/"><img src="/images/404.jpg" /></a>
<p>
<br/><br/>
</section>
</div>