cmd/golangorg: make /x redirect message nicer
"Nothing to see here; move along" was a funny throwaway line years ago.
It's a bit confusing now when it appears for a brief moment during
the redirect, especially for people not familiar with the idiom.
Show clearer text.
Change-Id: Ia2e8314e1a9f93e9148fb96aec0278f5815ae230
Reviewed-on: https://go-review.googlesource.com/c/website/+/293415
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
diff --git a/cmd/golangorg/x.go b/cmd/golangorg/x.go
index af2a068..e65e03c 100644
--- a/cmd/golangorg/x.go
+++ b/cmd/golangorg/x.go
@@ -63,7 +63,7 @@
<meta http-equiv="refresh" content="0; url=https://pkg.go.dev/golang.org/x/{{.Proj}}{{.Suffix}}">
</head>
<body>
-Nothing to see here; <a href="https://pkg.go.dev/golang.org/x/{{.Proj}}{{.Suffix}}">move along</a>.
+<a href="https://pkg.go.dev/golang.org/x/{{.Proj}}{{.Suffix}}">Redirecting to documentation...</a>
</body>
</html>
`))
diff --git a/cmd/golangorg/x_test.go b/cmd/golangorg/x_test.go
index 1cd5afb..1968807 100644
--- a/cmd/golangorg/x_test.go
+++ b/cmd/golangorg/x_test.go
@@ -69,7 +69,7 @@
checks: []check{
status(200),
substr(`<meta name="go-import" content="golang.org/x/pkgsite git https://go.googlesource.com/pkgsite">`),
- substr(`Nothing to see here; <a href="https://pkg.go.dev/golang.org/x/pkgsite">move along</a>.`),
+ substr(`<a href="https://pkg.go.dev/golang.org/x/pkgsite">Redirecting to documentation...</a>`),
substr(`http-equiv="refresh" content="0; url=https://pkg.go.dev/golang.org/x/pkgsite">`),
},
},