mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-29 23:20:49 +03:00
Fix defaults for Blackfriday
This commit is contained in:
parent
f264076f66
commit
d1364ffb68
3 changed files with 13 additions and 6 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue