diff --git a/src/preprocess/index.rs b/src/preprocess/index.rs index fd60ad4d..0413a6ee 100644 --- a/src/preprocess/index.rs +++ b/src/preprocess/index.rs @@ -39,6 +39,7 @@ impl Preprocessor for IndexPreprocessor { path.set_file_name("index.md"); } } + ch.content = ch.content.replace("README.md", "index.md"); } });