diff options
| author | Jonathan Amsterdam <jba@google.com> | 2020-10-24 11:12:35 -0400 |
|---|---|---|
| committer | Jonathan Amsterdam <jba@google.com> | 2020-10-28 09:20:03 +0000 |
| commit | 9ab53d6b28d75ec1fa0145577cec1c10256cae0b (patch) | |
| tree | f0697b355e630b8251ceabf3fcc8d438e0806d4f /internal/postgres/insert_module.go | |
| parent | d630f3afed1510af57cf2a5bcfc9475686fd26df (diff) | |
| download | go-x-pkgsite-9ab53d6b28d75ec1fa0145577cec1c10256cae0b.tar.xz | |
content/static/html: use "go" versions for stdlib links in units
For standard library URLs, use the path with the "go" form of the
version, rather than the "v" form. (Outside of stdlib, the two should
be the same.)
As part of the fix, define and test the functions that create
both ordinary and canonical URL paths for units.
For golang/go#41855
Change-Id: I5502c4792c4edada6579e483b214394d11c23351
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/264859
Trust: Jonathan Amsterdam <jba@google.com>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Julie Qiu <julie@golang.org>
Diffstat (limited to 'internal/postgres/insert_module.go')
0 files changed, 0 insertions, 0 deletions
