Added redirect from 2.x .html docs to new structure with pretty permalinks

This commit is contained in:
Arnold Daniels
2013-11-04 11:33:43 +01:00
parent 59bdca4a29
commit 6d56935caf
6 changed files with 44 additions and 0 deletions

9
_layouts/redirect.html Normal file
View File

@@ -0,0 +1,9 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=http://jasny.github.io/bootstrap{{ page.target }}">
</head>
<body>
<a href="http://jasny.github.io/bootstrap{{ page.target }}">http://jasny.github.io/bootstrap{{ page.target }}</a>
</body>
</html>

7
redirect-base-css.html Normal file
View File

@@ -0,0 +1,7 @@
---
layout: redirect
target: /css/
permalink: /base-css.html
base_url: "../"
---

7
redirect-components.html Normal file
View File

@@ -0,0 +1,7 @@
---
layout: redirect
target: /components/
permalink: /components.html
base_url: "../"
---

View File

@@ -0,0 +1,7 @@
---
layout: redirect
target: /getting-started/
permalink: /getting-started.html
base_url: "../"
---

7
redirect-javascript.html Normal file
View File

@@ -0,0 +1,7 @@
---
layout: redirect
target: /javascript/
permalink: /javascript.html
base_url: "../"
---

View File

@@ -0,0 +1,7 @@
---
layout: redirect
target: /scaffolding/
permalink: /scaffolding.html
base_url: "../"
---