File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 4
4
5
5
This repo holds content and serving programs for the golang.org web site.
6
6
7
- Content is in content /. Server code is in cmd/ and internal/.
7
+ Content is in _ content /. Server code is in cmd/ and internal/.
8
8
9
9
To run the server to preview local content changes, use:
10
10
11
11
go run ./cmd/golangorg -a
12
12
13
13
The supporting programs cmd/admingolangorg and cmd/googlegolangorg
14
14
are the servers for admin.golang.org and google.golang.org.
15
- (They do not use the content / directory.)
15
+ (They do not use the _ content / directory.)
16
16
17
17
Each command directory has its own README.md explaining deployment.
18
18
Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ func main() {
124
124
fmt .Fprintln (os .Stderr , "runtime.Caller failed: cannot find templates for -a mode." )
125
125
os .Exit (2 )
126
126
}
127
- dir := filepath .Join (file , "../../../content " )
127
+ dir := filepath .Join (file , "../../../_content " )
128
128
if _ , err := os .Stat (filepath .Join (dir , "godoc.html" )); err != nil {
129
129
fmt .Fprintln (os .Stderr , err )
130
130
fmt .Fprintln (os .Stderr , "Cannot find templates for -a mode." )
You can’t perform that action at this time.
0 commit comments