From 6049c3a10cedd4b05a23130811671ce8712b76f9 Mon Sep 17 00:00:00 2001 From: Vincent Batoufflet Date: Wed, 7 May 2014 08:56:57 +0200 Subject: [PATCH] Update Sitemap default value syntax --- commands/hugo.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/hugo.go b/commands/hugo.go index 235f95f75..8d18b6252 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)