mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02:00
@@ -251,6 +251,12 @@ func InitializeConfig() {
|
||||
}
|
||||
|
||||
jww.INFO.Println("Using config file:", viper.ConfigFileUsed())
|
||||
|
||||
themeVersionMismatch, minVersion := helpers.IsThemeVsHugoVersionMismatch()
|
||||
if themeVersionMismatch {
|
||||
jww.ERROR.Printf("Current theme does not support Hugo version %s. Minimum version required is %s\n",
|
||||
helpers.HugoReleaseVersion(), minVersion)
|
||||
}
|
||||
}
|
||||
|
||||
func build(watches ...bool) {
|
||||
|
Reference in New Issue
Block a user