diff options
Diffstat (limited to 'create/content.go')
-rw-r--r-- | create/content.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/create/content.go b/create/content.go index 3607e0139..6d38bbde1 100644 --- a/create/content.go +++ b/create/content.go @@ -132,7 +132,7 @@ func FindArchetype(kind string) (outpath string) { search := []string{helpers.AbsPathify(viper.GetString("archetypeDir"))} if viper.GetString("theme") != "" { - themeDir := filepath.Join(helpers.AbsPathify("themes/"+viper.GetString("theme")), "/archetypes/") + themeDir := filepath.Join(helpers.AbsPathify(viper.GetString("themesDir")+"/"+viper.GetString("theme")), "/archetypes/") if _, err := os.Stat(themeDir); os.IsNotExist(err) { jww.ERROR.Println("Unable to find archetypes directory for theme :", viper.GetString("theme"), "in", themeDir) } else { |