Skip to content

Commit

Permalink
fix: seetings & builder.
Browse files Browse the repository at this point in the history
  • Loading branch information
auula committed Jul 8, 2024
1 parent 51e81a0 commit e58e979
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/book/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ impl Builder {

fn render_index_html(&self) {
let mut log = Logger::console_log(); // initialize console logger.
let template = Template::new(&self.settings, self.root.get_chapters().as_slice());
let template = Template::new(&self.settings, &self.root.get_chapters());

let base_path = Path::new(self.settings.get_input_path());
let index_file = base_path.join(&self.root.path);
Expand Down

0 comments on commit e58e979

Please sign in to comment.