diff options
author | Ian Lewis <ianlewis@google.com> | 2020-10-26 22:04:13 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-10-26 22:06:49 -0700 |
commit | ef9378711ba4a5d27f9e819ff4811d4b0c210cc5 (patch) | |
tree | e501cebca6ebccfe0dd485e804e8da24f3dcc5db | |
parent | 3bb5f7164eefc6d5f33e7c08f87e2ae6df1c4bff (diff) |
Fix platforms blog post permalink
PiperOrigin-RevId: 339182848
-rw-r--r-- | website/blog/BUILD | 2 | ||||
-rw-r--r-- | website/cmd/server/main.go | 18 |
2 files changed, 11 insertions, 9 deletions
diff --git a/website/blog/BUILD b/website/blog/BUILD index ab37bfef0..17beb721f 100644 --- a/website/blog/BUILD +++ b/website/blog/BUILD @@ -46,7 +46,7 @@ doc( "mpratt", ], layout = "post", - permalink = "/blog/2020/09/22/platform-portability/", + permalink = "/blog/2020/10/22/platform-portability/", ) docs( diff --git a/website/cmd/server/main.go b/website/cmd/server/main.go index 85fcbb351..ac09550a9 100644 --- a/website/cmd/server/main.go +++ b/website/cmd/server/main.go @@ -45,14 +45,16 @@ var redirects = map[string]string{ "/c/linux/amd64": "/docs/user_guide/compatibility/linux/amd64/", // Redirect for old URLs. - "/docs/user_guide/compatibility/amd64/": "/docs/user_guide/compatibility/linux/amd64/", - "/docs/user_guide/compatibility/amd64": "/docs/user_guide/compatibility/linux/amd64/", - "/docs/user_guide/kubernetes/": "/docs/user_guide/quick_start/kubernetes/", - "/docs/user_guide/kubernetes": "/docs/user_guide/quick_start/kubernetes/", - "/docs/user_guide/oci/": "/docs/user_guide/quick_start/oci/", - "/docs/user_guide/oci": "/docs/user_guide/quick_start/oci/", - "/docs/user_guide/docker/": "/docs/user_guide/quick_start/docker/", - "/docs/user_guide/docker": "/docs/user_guide/quick_start/docker/", + "/docs/user_guide/compatibility/amd64/": "/docs/user_guide/compatibility/linux/amd64/", + "/docs/user_guide/compatibility/amd64": "/docs/user_guide/compatibility/linux/amd64/", + "/docs/user_guide/kubernetes/": "/docs/user_guide/quick_start/kubernetes/", + "/docs/user_guide/kubernetes": "/docs/user_guide/quick_start/kubernetes/", + "/docs/user_guide/oci/": "/docs/user_guide/quick_start/oci/", + "/docs/user_guide/oci": "/docs/user_guide/quick_start/oci/", + "/docs/user_guide/docker/": "/docs/user_guide/quick_start/docker/", + "/docs/user_guide/docker": "/docs/user_guide/quick_start/docker/", + "/blog/2020/09/22/platform-portability": "/blog/2020/10/22/platform-portability/", + "/blog/2020/09/22/platform-portability/": "/blog/2020/10/22/platform-portability/", // Deprecated, but links continue to work. "/cl": "https://gvisor-review.googlesource.com", |