Browse Source

Do not count the index as a section when printing

index-subcmd
Vincent Prouillet 7 years ago
parent
commit
ab3e04c9e5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/cmd/mod.rs

+ 1
- 1
src/cmd/mod.rs View File

@@ -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
);
}



Loading…
Cancel
Save