From ab3e04c9e5f8a75185a2599500658e8508d0d3d4 Mon Sep 17 00:00:00 2001 From: Vincent Prouillet Date: Fri, 12 May 2017 21:30:59 +0900 Subject: [PATCH] Do not count the index as a section when printing --- src/cmd/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/mod.rs b/src/cmd/mod.rs index d99fa6a3..d1f3dbfb 100644 --- a/src/cmd/mod.rs +++ b/src/cmd/mod.rs @@ -15,7 +15,7 @@ fn notify_site_size(site: &Site) { "-> Creating {} pages ({} orphan) and {} sections", site.pages.len(), site.get_all_orphan_pages().len(), - site.sections.len() + site.sections.len() - 1, // -1 since we do not the index as a section ); }