Ensure public exists for search index

Closes #756
This commit is contained in:
Vincent Prouillet 2019-07-20 16:09:16 +02:00
parent 0e4e0c35b3
commit 7e618684da
2 changed files with 1 additions and 1 deletions

View file

@ -764,6 +764,7 @@ impl Site {
}
pub fn build_search_index(&self) -> Result<()> {
ensure_directory_exists(&self.output_path)?;
// index first
create_file(
&self.output_path.join(&format!("search_index.{}.js", self.config.default_language)),

View file

@ -7,7 +7,6 @@ highlight_code = true
insert_anchor_links = true
highlight_theme = "kronuz"
build_search_index = true
# check_external_links = true
[extra]
author = "Vincent Prouillet"