Begin add tags models + Parse file

This commit is contained in:
Florian RICHER 2023-12-12 19:49:58 +01:00
parent dc80396b05
commit 9cd7029ede
2 changed files with 6 additions and 1 deletions

View file

@ -31,4 +31,4 @@ mod title;
pub use title::Title;
pub use mon_parcours::{MonParcours};
pub use mon_parcours::MonParcours;

View file

@ -36,6 +36,11 @@ cfg_if::cfg_if! {
Self::from_content(content)
}
fn from_default() -> Option<Self> {
let path = std::path::Path::new("data_src").join("tags.yml");
Self::from_path(&path)
}
}
}
}