oops
This commit is contained in:
parent
6f8a28575d
commit
a5889e0368
|
|
@ -148,8 +148,6 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|||
let mut rewriter = MarkdownTeraRewriter::new();
|
||||
parser.push(&mut rewriter);
|
||||
|
||||
let file_name = file.with_extension("html");
|
||||
|
||||
if let Ok(path) = &file_path.strip_root(&file_name) {
|
||||
if let Some(current_context) = context.get(path) {
|
||||
context.insert(&"this", ¤t_context.clone());
|
||||
|
|
|
|||
Loading…
Reference in a new issue