diff options
| author | Xe Iaso <me@christine.website> | 2022-02-27 19:12:53 +0000 |
|---|---|---|
| committer | Xe Iaso <me@christine.website> | 2022-02-27 19:12:53 +0000 |
| commit | 8fc69d4978ad5686d7149cc2032d44738633eafa (patch) | |
| tree | 27926e16adb20400bd1a1d3245b55faa1bc5d3e3 /src | |
| parent | 9e781d22460e6a49c04624cf3606bf69e79e420b (diff) | |
| download | xesite-8fc69d4978ad5686d7149cc2032d44738633eafa.tar.xz xesite-8fc69d4978ad5686d7149cc2032d44738633eafa.zip | |
nix flakes 2: fun with packages
Signed-off-by: Xe Iaso <me@christine.website>
Diffstat (limited to 'src')
| -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 { |
