aboutsummaryrefslogtreecommitdiff
path: root/src/file_handler/file_strategies/gemini.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/file_handler/file_strategies/gemini.rs')
-rw-r--r--src/file_handler/file_strategies/gemini.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/file_handler/file_strategies/gemini.rs b/src/file_handler/file_strategies/gemini.rs
index 04e2b6a..1c8a111 100644
--- a/src/file_handler/file_strategies/gemini.rs
+++ b/src/file_handler/file_strategies/gemini.rs
@@ -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();