commit | 13debd91c80733e726949727f1e3033092e66e59 | [log] [tgz] |
---|---|---|
author | Russ Cox <rsc@golang.org> | Wed Dec 19 10:26:31 2018 -0500 |
committer | Russ Cox <rsc@golang.org> | Wed Jan 30 20:31:02 2019 +0000 |
tree | be13c268b347660177286d28978cfc4343ba9b22 | |
parent | a61fd227c5961eaec9f69bd505af17c3787c5d49 [diff] |
blog: fix local mode to serve css and js correctly Clearly the main server had run ahead of the local one. The local one was expecting requests to say /static/, which they do not, and there are also requests from two different static file locations, not just one. Now when you run the local blog server you see all the styling of the blog site instead of unstyled HTML. Also update README.md. Change-Id: Ia662419339cd7546f0611f1b896c343902a018d5 Reviewed-on: https://go-review.googlesource.com/c/155019 Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This repository holds the Go Blog server code and content.
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.
To run the blog server locally:
go build && ./blog -reload
and then visit http://localhost:8080/ in your browser.
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.
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.