aboutsummaryrefslogtreecommitdiff
path: root/blog
Commit message (Collapse)AuthorAge
* blog: clean up blog to allow usage with gcloud commandAndrew Bonventre2018-05-24
| | | | | | | | | | | | | | | | | + The app.yaml file needs to be in the same directory as the entry-point Go files, so those are moved from ./blog to ./ + Go files within the context article did not have the +build OMIT directive, so gcloud would view them as files that needed to be built at deploy time. Add the +build OMIT directive and use the context package instead of x/net/context. + Switch to using a service instead of version and update app.yaml to account for this. + Use 1.9 as the runtime. + Remove superfluous .gitignore Change-Id: I7c886849b912bc7f5b67cd2791cb6986d93d5cc7 Reviewed-on: https://go-review.googlesource.com/114455 Reviewed-by: Russ Cox <rsc@golang.org>
* blog: fix fmt format causing vet failuresBrad Fitzpatrick2017-11-28
| | | | | | | | Change-Id: I9f06963e12ca806d94bab94af209ab794cb32a36 Reviewed-on: https://go-review.googlesource.com/80141 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
* blog: user- and test-friendly local serverKevin Burke2017-10-26
| | | | | | | | | | | | | | Log a short message when the blog starts explaining that it's listening and what port it's listening on. This is helpful to avoid errors if you start the blog and refresh the page before the server has started listening on the port. Add a basic homepage rendering test that should help protect against regressions. Change-Id: Ic86c30652714230b730cd4a254e69c10d019246b Reviewed-on: https://go-review.googlesource.com/49292 Reviewed-by: Chris Broadfoot <cbro@golang.org>
* blog: fix serving of fonts on App EngineAndrew Gerrand2016-11-17
| | | | | | Change-Id: I4c1fc9b10440b8e99a04614d89ac1fe0db58ae68 Reviewed-on: https://go-review.googlesource.com/33260 Reviewed-by: Andrew Gerrand <adg@golang.org>
* blog: set Strict-Transport-Security headerAndrew Gerrand2016-05-02
| | | | | | Change-Id: I06942c139689d3bc50da5fc367963fe01801518c Reviewed-on: https://go-review.googlesource.com/22675 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
* go.blog: use new golang.org/x/... import pathsAndrew Gerrand2014-11-10
| | | | | | | TBR=rsc R=rsc, r CC=golang-codereviews https://golang.org/cl/170250043
* go.blog: drop scheme from linksAndrew Gerrand2014-07-25
| | | | | | | | | | golang.org and its subdomains now serve HTTPS with a valid cert, so we must support both HTTP and HTTPS. TBR=bradfitz R=golang-codereviews CC=golang-codereviews https://golang.org/cl/116270043
* go.blog/blog: add -reload flag to reload content on each page loadAndrew Gerrand2013-11-21
| | | | | | R=r CC=golang-dev https://golang.org/cl/30040043
* blog.go: Set the AtomFieldTitle field in blog.Config.Brian Gitonga Marete2013-10-28
| | | | | | | | | | CL 16830043 removes the hard-coding of the atom feed title and replaces it with a configuration field in the Config structure in the go.tools/blog package. This CL sets that structure field. R=golang-dev, adg CC=golang-dev https://golang.org/cl/16850043
* go.blog: move cmd/blog to repo rootAndrew Gerrand2013-09-19
To be consistent with go.talks/present and go-tour/gotour. R=r CC=golang-dev https://golang.org/cl/13751044