* fixed canonical link from index
* added http redirect from builder/basics
* fixed url in redirect_home
| ... | ... |
@@ -40,8 +40,11 @@ |
| 40 | 40 |
|
| 41 | 41 |
{%- set script_files = script_files + ['_static/js/docs.js'] %}
|
| 42 | 42 |
|
| 43 |
+ {%- if pagename == 'index' %}
|
|
| 44 |
+ <link rel="canonical" href="http://docs.docker.io/en/latest/"> |
|
| 45 |
+ {% else %}
|
|
| 43 | 46 |
<link rel="canonical" href="http://docs.docker.io/en/latest/{{ pagename }}/">
|
| 44 |
- |
|
| 47 |
+ {% endif %}
|
|
| 45 | 48 |
{%- for cssfile in css_files %}
|
| 46 | 49 |
<link rel="stylesheet" href="{{ pathto(cssfile, 1) }}" type="text/css" />
|
| 47 | 50 |
{%- endfor %}
|
| 48 | 51 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,12 @@ |
| 0 |
+<!DOCTYPE html> |
|
| 1 |
+<html> |
|
| 2 |
+<head> |
|
| 3 |
+ <title>Page Moved</title> |
|
| 4 |
+ <meta http-equiv="refresh" content="0; url=http://docs.docker.io/en/latest/use/builder/"> |
|
| 5 |
+</head> |
|
| 6 |
+<body> |
|
| 7 |
+ |
|
| 8 |
+This page has moved. Perhaps you should visit the <a href="http://docs.docker.io/en/latest/use/builder/" title="builder page">Builder page</a> |
|
| 9 |
+ |
|
| 10 |
+</body> |
|
| 11 |
+</html> |