mirror of
https://github.com/getzola/zola
synced 2024-12-13 13:52:28 +00:00
parent
32ca1a14ed
commit
e1c8c01149
2 changed files with 158 additions and 239 deletions
396
Cargo.lock
generated
396
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -477,6 +477,7 @@ impl Site {
|
|||
index_section.permalink = self.config.make_permalink("");
|
||||
index_section.file.path = self.content_path.join("_index.md");
|
||||
index_section.file.relative = "_index.md".to_string();
|
||||
index_section.path = "/".to_string();
|
||||
}
|
||||
index_section.lang = index_section.file.find_language(&self.config)?;
|
||||
library.insert_section(index_section);
|
||||
|
|
Loading…
Reference in a new issue