]> git.r.bdr.sh - rbdr/page/blobdiff - src/file_handler/file_strategies/gemini.rs
Replace gmi with md
[rbdr/page] / src / file_handler / file_strategies / gemini.rs
index 04e2b6aae554e9cf2094bb1cbb1b6407096e2def..1c8a111f7a7b2f5dc1c83445e9025a19dd4664ca 100644 (file)
@@ -75,7 +75,8 @@ impl FileHandlerStrategy for Strategy {
 
 
         let relative_path = file.path.strip_prefix(&source).unwrap();
-        let complete_destination = destination.join(relative_path);
+        let mut complete_destination = destination.join(relative_path);
+        complete_destination.set_extension("html");
         let destination_parent = complete_destination.parent().unwrap();
         create_dir_all(destination_parent).unwrap();