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 0b3ed06 commit 3b506a8Copy full SHA for 3b506a8
src/renderer/html_handlebars/helpers/toc.rs
@@ -136,7 +136,8 @@ impl HelperDef for RenderToc {
136
.to_str()
137
.unwrap()
138
// Hack for windows who tends to use `\` as separator instead of `/`
139
- .replace('\\', "/");
+ .replace('\\', "/")
140
+ .replace("/index.html", "/");
141
142
// Add link
143
out.write(&utils::fs::path_to_root(¤t_path))?;
0 commit comments