Browse Source

Make comment more explicit

index-subcmd
cmal 6 years ago
parent
commit
77f8d96c9c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      components/site/src/lib.rs

+ 1
- 1
components/site/src/lib.rs View File

@@ -216,7 +216,7 @@ impl Site {
}

// Insert a default index section if necessary so we don't need to create
// a _index.md to render the index page
// a _index.md to render the index page at the root of the site
let index_path = self.index_section_path();
if let Some(ref index_section) = self.sections.get(&index_path) {
if self.config.build_search_index && !index_section.meta.in_search_index {


Loading…
Cancel
Save