summaryrefslogtreecommitdiffstats
path: root/commands/new_site.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/new_site.go')
-rw-r--r--commands/new_site.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/new_site.go b/commands/new_site.go
index 438553ae7..fc4127f8b 100644
--- a/commands/new_site.go
+++ b/commands/new_site.go
@@ -83,6 +83,7 @@ func (n *newSiteCmd) doNewSite(fs *hugofs.Fs, basepath string, force bool) error
return errors.New(basepath + " already exists and is not empty. See --force.")
case !isEmpty && force:
+ // TODO(bep) eventually rename this to hugo.
all := append(dirs, filepath.Join(basepath, "config."+n.configFormat))
for _, path := range all {
if exists, _ := helpers.Exists(path, fs.Source); exists {