This commit is contained in:
KitsuneCafe 2024-02-05 05:40:23 -05:00
parent 6f8a28575d
commit a5889e0368

View file

@ -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", &current_context.clone());