blog: remove all remaining protocol-relative URLs

Protocol-relative URLs (e.g., "//blog.golang.org") were previously
removed in the content of the blog, but not in other areas.
Notably, in the atom feed. This causes feed reader apps to fail, because
it doesn't know to use https for those URLs.

Always use the https scheme, including in the atom feed as well as a
couple remaining places in the blog template.

Fixes golang/go#17961

Change-Id: I694c888de9437937ba1910227ddae42d3eb0405c
Reviewed-on: https://go-review.googlesource.com/c/155357
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2 files changed
tree: 55548e22ad4ede8fea542453d9c261f4852c78db
  1. .gitattributes
  2. AUTHORS
  3. CONTRIBUTING.md
  4. CONTRIBUTORS
  5. LICENSE
  6. PATENTS
  7. README.md
  8. app.yaml
  9. appengine.go
  10. blog.go
  11. codereview.cfg
  12. content/
  13. local.go
  14. local_test.go
  15. rewrite.go
  16. static/
  17. support/
  18. template/
README.md

Go Blog

This repository holds the Go Blog server code and content.

Download/Install

The easiest way to install is to run go get -u golang.org/x/blog. You can also manually git clone the repository to $GOPATH/src/golang.org/x/blog.

Running Locally

To run the blog server locally:

dev_appserver.py app.yaml

and then visit http://localhost:8080/ in your browser.

Contributing

Articles on the blog should have broad interest to the Go community, and are mainly written by Go contributors. We encourage you to share your experiences using Go on your own website, and to share them with the Go community. Hugo is a static site server written in Go that makes it easy to write and share your stories.

Report Issues / Send Patches

This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.

The main issue tracker for the blog is located at https://github.com/golang/go/issues. Prefix your issue with “blog:” in the subject line, so it is easy to find.