From ba8a00a6f98650340457d79927352dc542001bba Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Sat, 3 Dec 2016 17:42:45 +0100 Subject: [PATCH] hugolib: Add regular content page count in publish summary Fixes #2759 --- hugolib/site.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hugolib/site.go b/hugolib/site.go index bddaa97f..acb9313f 100644 --- a/hugolib/site.go +++ b/hugolib/site.go @@ -1641,7 +1641,8 @@ func (s *Site) Stats() { jww.FEEDBACK.Println(s.draftStats()) jww.FEEDBACK.Println(s.futureStats()) jww.FEEDBACK.Println(s.expiredStats()) - jww.FEEDBACK.Printf("%d pages created\n", len(s.Pages)) + jww.FEEDBACK.Printf("%d regular pages created\n", len(s.RegularPages)) + jww.FEEDBACK.Printf("%d other pages created\n", (len(s.Pages) - len(s.RegularPages))) jww.FEEDBACK.Printf("%d non-page files copied\n", len(s.Files)) jww.FEEDBACK.Printf("%d paginator pages created\n", s.Info.paginationPageCount) taxonomies := s.Language.GetStringMapString("taxonomies") -- 2.30.2