Skip to content

Commit f54031c

Browse files
committed
add redirects for top-level examples pages that show up in top google results
1 parent b27c7c8 commit f54031c

File tree

3 files changed

+31
-0
lines changed

3 files changed

+31
-0
lines changed

Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ publish-docs:
66
git add -f docs/
77
git add -f guides/
88
git add -f site/
9+
git add -f examples/
910
git add -f index.html
1011
git add -f CNAME
1112
git commit -m "Publish docs"

examples/todo/index.html

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<title></title>
6+
<script type="text/javascript">
7+
window.location="/site/examples/todo/index.html";
8+
</script>
9+
</head>
10+
11+
<body>
12+
<p>This page has moved to /site/examples/todo/index.html</p>
13+
</body>
14+
15+
</html>

examples/todo_qunit.html

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<title></title>
6+
<script type="text/javascript">
7+
window.location="/site/examples/todo_qunit.html";
8+
</script>
9+
</head>
10+
11+
<body>
12+
<p>This page has moved to /site/examples/todo_qunit.html</p>
13+
</body>
14+
15+
</html>

0 commit comments

Comments
 (0)