diff options
Diffstat (limited to 'src/post/frontmatter.rs')
| -rw-r--r-- | src/post/frontmatter.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/post/frontmatter.rs b/src/post/frontmatter.rs index 595079f..fa4c65c 100644 --- a/src/post/frontmatter.rs +++ b/src/post/frontmatter.rs @@ -13,6 +13,13 @@ pub struct Data { pub thumb: Option<String>, pub show: Option<bool>, pub redirect_to: Option<String>, + pub vod: Option<Vod>, +} + +#[derive(Eq, PartialEq, Deserialize, Default, Debug, Serialize, Clone)] +pub struct Vod { + pub twitch: String, + pub youtube: String, } enum State { |
