This website works better with JavaScript.
git.jstrong.dev
Home
Explore
Help
Sign In
jstrong
/
zola
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Ensure public exists for search index
Closes
#756
index-subcmd
Vincent Prouillet
5 years ago
parent
0e4e0c35b3
commit
7e618684da
2 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
components/site/src/lib.rs
+0
-1
docs/config.toml
+ 1
- 0
components/site/src/lib.rs
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)),
+ 0
- 1
docs/config.toml
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"
Write
Preview
Loading…
Cancel
Save