mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
Update Sitemap default value syntax
This commit is contained in:
parent
2a902bbca6
commit
6049c3a10c
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ func InitializeConfig() {
|
|||
viper.SetDefault("CanonifyUrls", false)
|
||||
viper.SetDefault("Indexes", map[string]string{"tag": "tags", "category": "categories"})
|
||||
viper.SetDefault("Permalinks", make(hugolib.PermalinkOverrides, 0))
|
||||
viper.SetDefault("Sitemap", hugolib.Sitemap{"", -1})
|
||||
viper.SetDefault("Sitemap", hugolib.Sitemap{Priority: -1})
|
||||
|
||||
if hugoCmdV.PersistentFlags().Lookup("build-drafts").Changed {
|
||||
viper.Set("BuildDrafts", Draft)
|
||||
|
|
Loading…
Reference in a new issue