diff --git a/main.go b/main.go index d75b696..03a861a 100644 --- a/main.go +++ b/main.go @@ -143,6 +143,7 @@ func newSite(name string) { os.Mkdir(path.Join(name, "templates"), 0755) os.Mkdir(path.Join(name, "templates/_default"), 0755) os.Mkdir(path.Join(name, "static"), 0755) + os.Mkdir(path.Join(name, "public"), 0755) config, _ := builtin.ReadFile("config.toml") os.WriteFile(path.Join(name, "config.toml"), config, 0644)