hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit 6049c3a10cedd4b05a23130811671ce8712b76f9
parent 2a902bbca632153177c918a4d6eb3379dd6cc344
Author: Vincent Batoufflet <vincent@batoufflet.info>
Date:   Wed,  7 May 2014 08:56:57 +0200

Update Sitemap default value syntax

Diffstat:
Mcommands/hugo.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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)