diff options
author | Joe Mooring <joe.mooring@veriphor.com> | 2022-11-20 08:10:39 -0800 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-11-21 09:42:40 +0100 |
commit | 85e2ac1a4424fdde673b663c37043ece61212f0c (patch) | |
tree | d57922e32078664484d5a5b3e692efb2a97a4144 /commands/new_site.go | |
parent | 74776726dfbe33edccd9814a7871710817a843f2 (diff) |
commands: Create assets directory with new site
Closes #10460
Diffstat (limited to 'commands/new_site.go')
-rw-r--r-- | commands/new_site.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/commands/new_site.go b/commands/new_site.go index 384c6365b..438553ae7 100644 --- a/commands/new_site.go +++ b/commands/new_site.go @@ -62,11 +62,12 @@ Use ` + "`hugo new [contentPath]`" + ` to create new content.`, func (n *newSiteCmd) doNewSite(fs *hugofs.Fs, basepath string, force bool) error { archeTypePath := filepath.Join(basepath, "archetypes") dirs := []string{ - filepath.Join(basepath, "layouts"), - filepath.Join(basepath, "content"), archeTypePath, - filepath.Join(basepath, "static"), + filepath.Join(basepath, "assets"), + filepath.Join(basepath, "content"), filepath.Join(basepath, "data"), + filepath.Join(basepath, "layouts"), + filepath.Join(basepath, "static"), filepath.Join(basepath, "themes"), } |