aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorXe Iaso <me@christine.website>2022-02-27 19:12:53 +0000
committerXe Iaso <me@christine.website>2022-02-27 19:12:53 +0000
commit8fc69d4978ad5686d7149cc2032d44738633eafa (patch)
tree27926e16adb20400bd1a1d3245b55faa1bc5d3e3 /src
parent9e781d22460e6a49c04624cf3606bf69e79e420b (diff)
downloadxesite-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.rs7
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 {