Ajout tags #7

Merged
florian.richer merged 13 commits from refactor-tags into main 2024-01-07 00:49:58 +01:00
2 changed files with 6 additions and 1 deletions
Showing only changes of commit 9cd7029ede - Show all commits

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)
}
}
}
}