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:
@@ -1293,9 +1293,7 @@ func (s *Site) Stats() {
|
||||
jww.FEEDBACK.Println(s.draftStats())
|
||||
jww.FEEDBACK.Println(s.futureStats())
|
||||
jww.FEEDBACK.Printf("%d pages created \n", len(s.Pages))
|
||||
if viper.GetInt("paginate") > 0 {
|
||||
jww.FEEDBACK.Printf("%d paginator pages created \n", s.Info.paginationPageCount)
|
||||
}
|
||||
jww.FEEDBACK.Printf("%d paginator pages created \n", s.Info.paginationPageCount)
|
||||
taxonomies := viper.GetStringMapString("Taxonomies")
|
||||
|
||||
for _, pl := range taxonomies {
|
||||
|
Reference in New Issue
Block a user