+pub struct Strategy {}
+
+use std::path::PathBuf;
+
+use crate::file_handler::{File, FileType, FileHandlerStrategy};
+
+impl FileHandlerStrategy for Strategy {
+ fn is(&self, path: &PathBuf) -> bool {
+ return !path.is_dir() && path.ends_with("_layout.html");
+ }
+
+ fn identify(&self) -> FileType {
+ FileType::Layout
+ }
+
+ fn can_handle(&self, file_type: &FileType) -> bool {
+ match file_type {
+ FileType::Layout => true,
+ _ => false,
+ }
+ }
+
+ fn handle(&self, _file: &File) {}
+}