summaryrefslogtreecommitdiffhomepage
path: root/website/cmd/server/main.go
diff options
context:
space:
mode:
authorIan Lewis <ianlewis@google.com>2020-10-26 22:04:13 -0700
committergVisor bot <gvisor-bot@google.com>2020-10-26 22:06:49 -0700
commitef9378711ba4a5d27f9e819ff4811d4b0c210cc5 (patch)
treee501cebca6ebccfe0dd485e804e8da24f3dcc5db /website/cmd/server/main.go
parent3bb5f7164eefc6d5f33e7c08f87e2ae6df1c4bff (diff)
Fix platforms blog post permalink
PiperOrigin-RevId: 339182848
Diffstat (limited to 'website/cmd/server/main.go')
-rw-r--r--website/cmd/server/main.go18
1 files changed, 10 insertions, 8 deletions
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",