Begin add tags models + Parse file
This commit is contained in:
parent
dc80396b05
commit
9cd7029ede
2 changed files with 6 additions and 1 deletions
|
@ -31,4 +31,4 @@ mod title;
|
|||
|
||||
pub use title::Title;
|
||||
|
||||
pub use mon_parcours::{MonParcours};
|
||||
pub use mon_parcours::MonParcours;
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue