mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02:00
@@ -281,8 +281,7 @@ func InitializeConfig() {
|
|||||||
themeDir := helpers.GetThemeDir()
|
themeDir := helpers.GetThemeDir()
|
||||||
if themeDir != "" {
|
if themeDir != "" {
|
||||||
if _, err := os.Stat(themeDir); os.IsNotExist(err) {
|
if _, err := os.Stat(themeDir); os.IsNotExist(err) {
|
||||||
jww.ERROR.Println("Unable to find theme Directory:", themeDir)
|
jww.FATAL.Fatalln("Unable to find theme Directory:", themeDir)
|
||||||
os.Exit(1)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user