mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-18 21:11:19 +02:00
Renamed Indexes to Taxonomies. Old template and config parameters still work.
This commit is contained in:
@@ -84,6 +84,8 @@ func InitializeConfig() {
|
||||
viper.AddConfigPath(Source)
|
||||
viper.ReadInConfig()
|
||||
|
||||
viper.RegisterAlias("taxonomies", "indexes")
|
||||
|
||||
viper.SetDefault("ContentDir", "content")
|
||||
viper.SetDefault("LayoutDir", "layouts")
|
||||
viper.SetDefault("StaticDir", "static")
|
||||
|
Reference in New Issue
Block a user