From: Vincent Batoufflet Date: Wed, 7 May 2014 06:56:57 +0000 (+0200) Subject: Update Sitemap default value syntax X-Git-Tag: v0.11~40 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=6049c3a1;p=brevno-suite%2Fhugo Update Sitemap default value syntax --- diff --git a/commands/hugo.go b/commands/hugo.go index 235f95f7..8d18b625 100644 --- a/commands/hugo.go +++ b/commands/hugo.go @@ -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)