Fix defaults for Blackfriday

This commit is contained in:
Naoya Inada 2015-02-01 02:24:00 +09:00 committed by bep
parent f264076f66
commit d1364ffb68
3 changed files with 13 additions and 6 deletions

View file

@ -138,7 +138,7 @@ func InitializeConfig() {
viper.SetDefault("NewContentEditor", "")
viper.SetDefault("Paginate", 10)
viper.SetDefault("PaginatePath", "page")
viper.SetDefault("Blackfriday", new(helpers.Blackfriday))
viper.SetDefault("Blackfriday", helpers.NewBlackfriday())
if hugoCmdV.PersistentFlags().Lookup("buildDrafts").Changed {
viper.Set("BuildDrafts", Draft)