From 200153e486387cce839d6c5377818c880ecfe2f0 Mon Sep 17 00:00:00 2001 From: adnano Date: Wed, 12 May 2021 01:49:16 -0400 Subject: [PATCH] kiln new: Create public directory --- main.go | 1 + 1 file changed, 1 insertion(+) 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)