diff --git a/commands/hugo.go b/commands/hugo.go index 2c6e3ffef..4acc5c4e6 100644 --- a/commands/hugo.go +++ b/commands/hugo.go @@ -391,7 +391,7 @@ func InitializeConfig(subCmdVs ...*cobra.Command) (*deps.DepsCfg, error) { return nil, err } - cfg.Logger.INFO.Println("Using config file:", viper.ConfigFileUsed()) + cfg.Logger.INFO.Println("Using config file:", config.ConfigFileUsed()) themeDir := c.PathSpec().GetThemeDir() if themeDir != "" {