1
0
mirror of https://github.com/gohugoio/hugo.git synced 2024-05-11 05:54:58 +00:00

Added 'themes' as a default new site directory

Fixes #1507
This commit is contained in:
inondle
2015-12-03 17:32:12 -08:00
committed by Anthony Fok
parent 6a519e692b
commit f6fdfcd429

View File

@ -112,6 +112,7 @@ func doNewSite(basepath string, force bool) error {
filepath.Join(basepath, "archetypes"),
filepath.Join(basepath, "static"),
filepath.Join(basepath, "data"),
filepath.Join(basepath, "themes"),
}
if exists, _ := helpers.Exists(basepath, hugofs.SourceFs); exists {