This commit is contained in:
Zhou Yue 2021-04-04 04:13:18 +08:00
parent fe1927f344
commit 4a082ea7ac
1 changed files with 6 additions and 1 deletions

View File

@ -550,7 +550,12 @@ impl Renderer for HtmlHandlebars {
{
let search = html_config.search.unwrap_or_default();
if search.enable {
super::search::create_files(&search, &ctx.config.book.language, &destination, &book)?;
super::search::create_files(
&search,
&ctx.config.book.language,
&destination,
&book,
)?;
}
}