We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ab939f commit a674c9eCopy full SHA for a674c9e
src/renderer/html_handlebars/hbs_renderer.rs
@@ -86,7 +86,7 @@ impl HtmlHandlebars {
86
utils::fs::write_file(&ctx.destination, &filepath, rendered.as_bytes())?;
87
88
if ctx.is_index {
89
- ctx.data.insert("path".to_owned(), json!("index.html"));
+ ctx.data.insert("path".to_owned(), json!("index.md"));
90
ctx.data.insert("path_to_root".to_owned(), json!(""));
91
let rendered_index = ctx.handlebars.render("index", &ctx.data)?;
92
let rendered_index = self.post_process(rendered_index, &ctx.html_config.playpen);
0 commit comments