mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-18 21:11:19 +02:00
Set detault for Paginate to 10
10 is a better default than 0, since no paginator pages will be created unles referenced by a `.Paginator`. See #750
This commit is contained in:
@@ -136,7 +136,7 @@ func InitializeConfig() {
|
||||
viper.SetDefault("FootnoteAnchorPrefix", "")
|
||||
viper.SetDefault("FootnoteReturnLinkContents", "")
|
||||
viper.SetDefault("NewContentEditor", "")
|
||||
viper.SetDefault("Paginate", 0)
|
||||
viper.SetDefault("Paginate", 10)
|
||||
viper.SetDefault("PaginatePath", "page")
|
||||
viper.SetDefault("Blackfriday", new(helpers.Blackfriday))
|
||||
|
||||
|
Reference in New Issue
Block a user