| Age | Commit message (Collapse) | Author |
|
Many renames. And then adjust references.
Change-Id: I4d03c76dbc0bf4d070208d568861ee820904c0dc
Reviewed-on: https://go-review.googlesource.com/c/website/+/365097
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
|
|
lib/godoc/images/play-link.svg moves to go.dev/_content
and the one reference in go.dev/_content/css/styles.css is fixed.
The rest is all dead files.
Change-Id: Ic2b582855b976387e0a4d2cbd93e50942071ae31
Reviewed-on: https://go-review.googlesource.com/c/website/+/365096
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
|
|
Now that there is one site, update all golang.org links to go.dev.
But for any links being served from go.dev, make host-relative,
so that when serving golang.google.cn, we stay on that host as
much as possible.
Change-Id: Id6e1303059b5522846a64202bc1a8b81dc3854cd
Reviewed-on: https://go-review.googlesource.com/c/website/+/365095
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
|
|
As described in https://go.dev/blog/tidy-web,
redirect golang.org to go.dev.
The golang.org home page is retired -
go.dev now has all the same info and links,
and it doesn't have ten-year-old videos of me.
All the other golang.org pages are now served
directly from go.dev, styled differently but with
the same content.
A followup CL will merge the _content directories.
Change-Id: Ib7f3d951842c021280981f9b926c4943f4d9cb52
Reviewed-on: https://go-review.googlesource.com/c/website/+/364859
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
|
|
This is a replacement for the UI of play.golang.org,
although it still uses play.golang.org as the backend
and probably always will, to keep the playground backend
deployment separate from the rest of the web site.
Change-Id: Ia39000e80368b98d9cc273d246f2c83670fbacc4
Reviewed-on: https://go-review.googlesource.com/c/website/+/364815
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
|
|
Right now the header is constrained to the middle 75.75em of the page.
That lines up nicely when content is also limited to the middle 75.75em,
but some pages will want to allow a wider viewport, and then it looks weird
to have the content starting to the left of the Go logo and continuing past
the right of the tabs.
Let the header expand to the left and right sides of the page
(up to a margin on wider devices), just like the footer.
Change-Id: Ic667ec8d23dfb06ab6c532caad6b507dd5ce6fe5
Reviewed-on: https://go-review.googlesource.com/c/website/+/364814
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
|
|
Fixes golang/go#49610
Change-Id: Ie6cf34e259d486c5e756307f966af9e9aaf99b5f
Reviewed-on: https://go-review.googlesource.com/c/website/+/364274
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
|
|
Right now golang.google.cn serves a copy of golang.org.
Eventually it will serve a copy of go.dev instead.
Prepare for that by disabling the share button on the go.dev
home page when the request is actually for golang.google.cn.
Change-Id: I2b80d066ceb789cd188f6409694bccfed2a87c19
Reviewed-on: https://go-review.googlesource.com/c/website/+/362956
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
|
|
Add a standard 1rem margin above and below key block elements like h1, h2, ..., ol, ul, p.
Today it's very inconsistent and because you get a margin from either the block above
or below, it mostly works out, except in certain cases where text gets jammed together
a bit too much.
Add the auto-TOC generator for use in layouts that define #nav
(nothing yet, but golang.org-migrated pages will).
Add "Table of Contents" to the top of the TOC.
Allow pages to opt out of the TOC by setting HideTOC in their metadata.
Make subtitle heading (Version of Jan 1, 2021) line up horizontally with the TOC.
Preparation for the golang.org -> go.dev move.
Change-Id: Ic9121e5b636155c54e487bcb735ac0bc3f958733
Reviewed-on: https://go-review.googlesource.com/c/website/+/362502
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
|
|
- scroll-behavior: smooth is incredibly frustrating on Macs at least.
It's way too slow. Go back to the regular behavior when you click a #Link.
- Make printed docs look reasonable (no invisible banner covering up
content on subsequent pages, no lines of text sliced in half).
- Make .Article margins better defaults. We can always adjust specific
pages, but these defaults seem to have been overfitted to the specific
uses of <h1> <h2> and so on in specific pages. The changes do not
make those pages look noticeably worse, and they do make other pages
look noticeably better.
Preparation for the golang.org -> go.dev move.
Change-Id: Ia0b5783e9db35785252dc37c443f3f25114f8b4a
Reviewed-on: https://go-review.googlesource.com/c/website/+/362501
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
|
|
Preparation for the golang.org -> go.dev move.
Change-Id: I8246702e88f47f0c61a4ea4db2e4a6a390e3c90c
Reviewed-on: https://go-review.googlesource.com/c/website/+/362500
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
|
|
It's unclear what “correct scroll” means here, but it's definitely
incorrect to blow away any HTML (such as links) in every h2
and replace it with the text-only representation of the original h2.
Delete that code. If we figure out what this means, we can look
for a better way to solve this problem (probably scroll-margin-top?).
Also, make it clearer that the stickyNav setup is a no-op without a sticky nav.
Preparation for the golang.org -> go.dev move.
Change-Id: Ib8930a4e3aba688d645f689d3c2ee90b3e09229f
Reviewed-on: https://go-review.googlesource.com/c/website/+/362499
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
|
|
Needed for godocs.js.
Preparation for the golang.org -> go.dev move.
Change-Id: Ibcfccc2d0b7293220e83b22870848a63cac1b820
Reviewed-on: https://go-review.googlesource.com/c/website/+/362498
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
|
|
We're getting more responses than we need for go.dev HaTS.
Decreasing the sample size from 40% to 10%.
Change-Id: I9aae64db6a675da27823ad6f4b006f6dd44ce1bf
Reviewed-on: https://go-review.googlesource.com/c/website/+/362954
Trust: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
|
|
Updates golang/go#49185
Change-Id: I9b07c0e0a1c034dc49f86c28a9e336458be18bab
Reviewed-on: https://go-review.googlesource.com/c/website/+/363514
Trust: Katie Hockman <katie@golang.org>
Run-TryBot: Katie Hockman <katie@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Website-Publish: DO NOT USE <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
|
|
Fixes golang/go#49507.
Change-Id: Ieb0f8ebcd42efebc6b608091b1a4e263ef5d1c67
Reviewed-on: https://go-review.googlesource.com/c/website/+/363054
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Website-Publish: Russ Cox <rsc@golang.org>
|
|
Happy 12th birthday, Go!
Change-Id: I6cf4928839f53bab276e6fbaefc22624bbc9b255
Reviewed-on: https://go-review.googlesource.com/c/website/+/362959
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
Website-Publish: Russ Cox <rsc@golang.org>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
|
|
Change-Id: Idebcd1e8593ecb3ef10a470eeae3b757ec43c55f
Reviewed-on: https://go-review.googlesource.com/c/website/+/361234
Trust: Julie Qiu <julie@golang.org>
Run-TryBot: Julie Qiu <julie@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Website-Publish: DO NOT USE <dmitshur@google.com>
Website-Publish: Russ Cox <rsc@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
|
|
1. Remove all letter-spacing overrides
Overriding the letter-spacing might have made sense when we
were hard-coding the font (I have my doubts), but it certainly
does not make sense now that we are defaulting to the system font
instead of a hard-coded font.
The effect of the letter-spacing now is to override the font's
kerning tables (as if we could do better!) and gives the site a
bit of an alien look. The only time a letter-spacing override
really works is in ALL CAPS headlines, but we don't have any.
2. Remove font-weight override for article headings
The “large but not bold” headings are another thing that don't
really work consistently in the variety of fonts users might see.
Go back to headings being bold by removing the overrides.
Also rewrite a few font-weight: 400 to font-weight: normal for consistency.
3. Change body text to darker grey
Using 3e4042 for body text is too light and hurts readability.
pkg.go.dev uses 202224 for body text; use that here too.
Global search and replace to keep the same number of colors in our palette.
4. Regularize page max-width, line-height
Solutions articles were allowed to be 75.75rem wide,
but regular articles were capped at 45rem, which is
far too narrow when you're using a large screen.
Let all articles expand to 75.75rem.
(Not sure what is magic about 75.75 but it's used elsewhere too.)
Regular line-height to a default of 1.4 for the whole page.
Rutter's book _Web Typography_ says 1.4 is a good default
for a variety of fonts. The blog was already overriding to 1.4
because that was most readable for the long articles.
Many other elements were using 1.5rem, which can then be deleted.
Article lists were set to 1.45, so delete that too in favor of consistency.
Article text was set to 1.75rem, which is far too wide and hurts
readability (the blog was overriding this specific setting),
so drop that too.
5. Narrow spaces in code font
This rule will let us stop insisting that people write things like
Use <code>go</code> <code>get</code> to ...
(See for example doc/go1.*.html.)
Change-Id: I2154b03296ae1d56bc9bc416a1e3fb9e930d7d9c
Reviewed-on: https://go-review.googlesource.com/c/website/+/362015
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Website-Publish: Russ Cox <rsc@golang.org>
|
|
See https://go.dev/solutions/clis.
The big teal boxes are teal-on-teal quotes.
Make them teal-on-white instead.
Change-Id: I33dd72f172043123d0b21620d75a44ca7a403224
Reviewed-on: https://go-review.googlesource.com/c/website/+/362017
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
|
|
There's a lot of filler still left here.
Move it somewhere it won't serve.
Change-Id: Iaf3fe4cb09e49c536621e64008adbc48d2aeeced
Reviewed-on: https://go-review.googlesource.com/c/website/+/361422
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
Website-Publish: Russ Cox <rsc@golang.org>
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
|
|
Change-Id: I18659da9850d7f4ea575767b359007fc70f05902
Reviewed-on: https://go-review.googlesource.com/c/website/+/361421
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Julie Qiu <julie@golang.org>
Website-Publish: Russ Cox <rsc@golang.org>
|
|
This change adds the security page over on /security alongside it's
corresponding assets and style changes.
Change-Id: I14e2d43d23e82b39b77bde9cb16520e6f176f481
Reviewed-on: https://go-review.googlesource.com/c/website/+/356511
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Robert Findley <rfindley@google.com>
|
|
The HaTS survey for go downloads is not yielding enough
responses. Increased the prompt rate to 20%.
Change-Id: If944cee616c86167bed45e56e558716260bd7cb5
Reviewed-on: https://go-review.googlesource.com/c/website/+/360718
Trust: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
|
|
The searchBox.js code throws an error when no
search form is present on the page. Return early
when the form is not present to prevent the error.
Change-Id: I8a77d34fad185d5c59ab10bce88776d363bb3bef
Reviewed-on: https://go-review.googlesource.com/c/website/+/359215
Trust: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Julie Qiu <julie@golang.org>
|
|
Copied the playground example files to the go.dev content
directory to fix the homepage playground. This works locally
because requests to /doc are passed to the golang.org content
directory but breaks on app engine when requests go to go.dev/doc.
Change-Id: I858b7fca905bbacd0acbf8ea33d1a5188fbd3773
Reviewed-on: https://go-review.googlesource.com/c/website/+/359214
Trust: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Julie Qiu <julie@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Website-Publish: DO NOT USE <dmitshur@google.com>
|
|
HTML and styles for the go.dev playground are copied from golang.org
so that a playground section appears between the testimonials and
"What’s possible with Go" sections.
Change-Id: Ic7648462c7c27b22c057e05b3c0e8e2303d9643c
Reviewed-on: https://go-review.googlesource.com/c/website/+/352549
Trust: Jamal Carvalho <jamal@golang.org>
Trust: Julie Qiu <julie@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
Website-Publish: Russ Cox <rsc@golang.org>
|
|
Adds an announcement for the Go Developer Survey 2021 launch
Change-Id: I35a19b7c34239b38612b7a4608f4fe555b09055e
Reviewed-on: https://go-review.googlesource.com/c/website/+/357129
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Trust: Carlos Amedee <carlos@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Website-Publish: DO NOT USE <dmitshur@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
|
|
The blog article https://go.dev/blog/go1.13-errors explains when package
errors use a user-authored Is method on an error. It does this in the
context of error value equality. Because errors are often implemented as
pointer values (and receivers), which may have non-obvious semantics to
newcomers, this presents a good opportunity to remind the reader what
equality means in such cases.
This commit is largely cosmetic and provides a link back to the relevant
part of the language specification.
Change-Id: I0e312fa1385e7caa9944eaff4ac788c91c3294dd
Reviewed-on: https://go-review.googlesource.com/c/website/+/358354
Reviewed-by: Jean de Klerk <deklerk@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
Trust: Jean de Klerk <deklerk@google.com>
Run-TryBot: Jean de Klerk <deklerk@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
|
|
CL 351569 updated this blog post to use gotip without arguments,
since the dev.fuzz branch has been merged to the main branch and
is slated to be included in Go 1.18.
Update the build constraint in the shown example accordingly,
since the gofuzzbeta constraint is no longer set as of CL 351118.
Suggest the use of a go1.18 build constraint instead.
While here, also update to the newer go install @latest
syntax for downloading the gotip command, for reasons
similar to what's described in CL 346091.
For golang/go#47037.
Updates golang/go#48080.
Change-Id: Icbf3d3ad5ef5532063ca3e093eed330f7ea0c0d9
Reviewed-on: https://go-review.googlesource.com/c/website/+/353430
Website-Publish: DO NOT USE <dmitshur@google.com>
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
Reviewed-by: Katie Hockman <katie@golang.org>
|
|
Change-Id: I8392dd319b8bd09b95d4f88869acf5177ef500a2
Reviewed-on: https://go-review.googlesource.com/c/website/+/351569
Trust: Katie Hockman <katie@golang.org>
Run-TryBot: Katie Hockman <katie@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Roland Shoemaker <roland@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
Reviewed-by: Russ Cox <rsc@golang.org>
Website-Publish: Russ Cox <rsc@golang.org>
|
|
Follow up on https://golang.org/cl/343469.
Use different classes for the hamburger menu to set
event listeners on golang.org & go.dev to avoid
(mis-)listing the paths.
Fixes golang/go#47862.
Change-Id: I4bbf856cd86583bea402b1869583e90799a7d1f9
Reviewed-on: https://go-review.googlesource.com/c/website/+/344309
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
|
|
Assuming 'though' should be 'through'
Change-Id: I33e3e86ee84510f771395cce62cb9ce18d5dcebe
Reviewed-on: https://go-review.googlesource.com/c/website/+/350289
Reviewed-by: Filippo Valsorda <filippo@golang.org>
Run-TryBot: Filippo Valsorda <filippo@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Ian Lance Taylor <iant@golang.org>
Website-Publish: Russ Cox <rsc@golang.org>
|
|
Change-Id: Id7b7d0ca69b39dcca168d603d406c5aa04c1f2f7
Reviewed-on: https://go-review.googlesource.com/c/website/+/350254
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Steve Francia <spf@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Website-Publish: Russ Cox <rsc@golang.org>
|
|
Change-Id: I0211fb317265f1e1e4ae2f0d833e438f35795a70
Reviewed-on: https://go-review.googlesource.com/c/website/+/349850
Trust: Filippo Valsorda <filippo@golang.org>
Run-TryBot: Filippo Valsorda <filippo@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
Website-Publish: Russ Cox <rsc@golang.org>
|
|
Fixes golang/go#48235
Change-Id: I204e8f24290c1c4c411b522d6fbed535741fb0c8
GitHub-Last-Rev: 5da61a437c63493867c34997372ad85c9451531f
GitHub-Pull-Request: golang/website#93
Reviewed-on: https://go-review.googlesource.com/c/website/+/348249
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Dmitri Shuralyov <dmitshur@golang.org>
|
|
Previously, following a cross-domain redirect would not get caught by
the local server link rewriter.
Change-Id: I2ba6c1b9a8c03cf155928be0c68eced0de6a5c42
Reviewed-on: https://go-review.googlesource.com/c/website/+/349851
Trust: Filippo Valsorda <filippo@golang.org>
Run-TryBot: Filippo Valsorda <filippo@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
|
|
A link is added to golang.org/s/pkgsite-package-removal under the
"Removing a package" section.
Change-Id: I9a676c6cac6eadb8e7df3a9cdec332ea6f1b9480
Reviewed-on: https://go-review.googlesource.com/c/website/+/349830
Trust: Julie Qiu <julie@golang.org>
Run-TryBot: Julie Qiu <julie@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
|
|
Site reliability Engineering -> Site Reliability Engineering
Change-Id: Ia67a04ec1823168c30c05342ed1f2a2037a410aa
GitHub-Last-Rev: 7b8eb165dc84112afef87b13d7abdec084bc347b
GitHub-Pull-Request: golang/website#91
Reviewed-on: https://go-review.googlesource.com/c/website/+/347910
Trust: Than McIntosh <thanm@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
|
|
Change-Id: I72435865a31c28a8f7fa723faf20078cef665207
GitHub-Last-Rev: a8a260c7c47a6b9ae1bed54dfc75b88cd5dc05a2
GitHub-Pull-Request: golang/website#92
Reviewed-on: https://go-review.googlesource.com/c/website/+/347912
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Alberto Donizetti <alb.donizetti@gmail.com>
|
|
Change-Id: Ic8993ca969f6a930827ac73ea1a8bc6772d14d3f
Reviewed-on: https://go-review.googlesource.com/c/website/+/348013
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
|
|
github.com/golang/example is actually a mirror
of go.googlesource.com/example
which hosts the golang.org/x/example module.
The path mismatches causes build failures.
This CL replaces github.com/golang/example with
golang.org/x/example when appropriate.
I think the use case in
_content/doc/articles/go_command.html is better
served with a repo in github.com or widely known
source hosting sites. Otherwise, the flow may be
confusing. So, I used github.com/golang/protobuf.
Also replaced godoc.org links with pkg.go.dev links.
Still not sure if the instructions in the old blog
posts and articles continue to work though.
For blog posts, I am not sure what to do -
there is historical merit in preserving old
contents (that's the point of blogs, isn't it?)
However, old, broken examples can be confusing
for new users. Keeping all blog posts up-to-date
isn't scalable either.
The gopath_code.html and go_command.html can be
confusing for users who use latest go.
I think we need to make them more clear that they
are obsolete or archive(?) them.
Change-Id: Iefe0cc94b0690dc52933ebce214104e94d9b6808
Reviewed-on: https://go-review.googlesource.com/c/website/+/347551
Trust: Hyang-Ah Hana Kim <hyangah@gmail.com>
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
Website-Publish: Russ Cox <rsc@golang.org>
|
|
We can start using Go 1.17, the most recent release, as the fallback.
Change-Id: I05685c99852cc34c79706a2f8916c6dc29849062
Reviewed-on: https://go-review.googlesource.com/c/website/+/345829
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Trust: Dmitri Shuralyov <dmitshur@golang.org>
|
|
Fixes golang/go#48011
Change-Id: I6ae0c3c3696f5e88258f39532137bfc0b5ec31ee
Reviewed-on: https://go-review.googlesource.com/c/website/+/346212
Trust: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Website-Publish: DO NOT USE <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
|
|
Change-Id: I4beb77336f21c7c64bb4efe7985503e2dfad9d2d
Reviewed-on: https://go-review.googlesource.com/c/website/+/344409
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Alexander Rakoczy <alex@golang.org>
|
|
When the blog moved from blog.golang.org/ to go.dev/blog/,
internal links like /blogpage needed to change to /blog/blogpage
and did not. This CL updates those links.
Fixes golang/go#47846.
Change-Id: I12a487062e19c7c5b619bd99f4488b3975e0d6d2
Reviewed-on: https://go-review.googlesource.com/c/website/+/344009
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
|
|
Change-Id: I4aa338da4a711817ce1ccc79778e119bdedb6345
Reviewed-on: https://go-review.googlesource.com/c/website/+/343251
Trust: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
|
|
site.js and godocs.js are both trying to set event listeners
on the same .js-headerMenuButton. Fix that.
Change-Id: If089d29552df8f2f2c11e963996ec6a818173412
GitHub-Last-Rev: 9395a9efcc6a2192aa932f26821f15120b526fc5
GitHub-Pull-Request: golang/website#81
Reviewed-on: https://go-review.googlesource.com/c/website/+/343469
Trust: Roland Shoemaker <roland@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
Website-Publish: Russ Cox <rsc@golang.org>
|
|
In very short pages like go.dev/blog (on large displays),
the footer floats above the bottom and leaves a white bar.
Get rid of that.
Also fix link in blog post.
Change-Id: Ib294e7af2d3c5be81facc6d5ab9faaaf329a50fa
Reviewed-on: https://go-review.googlesource.com/c/website/+/343409
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Julie Qiu <julie@golang.org>
Website-Publish: Russ Cox <rsc@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
|
|
Change-Id: Icfd4dafae57832c7164b785f0bff02341c70bdf4
Reviewed-on: https://go-review.googlesource.com/c/website/+/343213
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Website-Publish: Russ Cox <rsc@golang.org>
Reviewed-by: Julie Qiu <julie@golang.org>
|