+ match file_handler.get_layout_or_panic(&files) {
+ Ok(()) => {}
+ Err(error) => {
+ eprintln!("{error}");
+ exit(1);
+ }
+ }
+
+ // Step 3. Prepare the target priority
+ let _ = remove_dir_all(&html_destination);
+ let _ = remove_dir_all(&gemini_destination);
+
+ create_dir_all(&html_destination).expect("Could not create HTML directory.");
+ create_dir_all(&gemini_destination).expect("Could not create Gemini directory.");