diff options
| author | Xe Iaso <me@christine.website> | 2023-01-13 17:39:46 -0500 |
|---|---|---|
| committer | Xe Iaso <me@christine.website> | 2023-01-13 17:40:24 -0500 |
| commit | d64d75a4dc1c482cd63b613cacbbaaf34cfd3706 (patch) | |
| tree | 71d657fe4f2f9b356d29cf06820ef0bc72a6a210 /lib | |
| parent | ac88f72063a4c0b99e9526dc63e1689ae6610774 (diff) | |
| download | xesite-d64d75a4dc1c482cd63b613cacbbaaf34cfd3706.tar.xz xesite-d64d75a4dc1c482cd63b613cacbbaaf34cfd3706.zip | |
talks: add pulumi talk
Also add skip_ads field that will allow a post to skip the
advertisements.
Signed-off-by: Xe <me@christine.website>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/xesite_types/src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/xesite_types/src/lib.rs b/lib/xesite_types/src/lib.rs index 646f711..890ef39 100644 --- a/lib/xesite_types/src/lib.rs +++ b/lib/xesite_types/src/lib.rs @@ -26,6 +26,8 @@ pub struct Frontmatter { pub redirect_to: Option<String>, #[serde(skip_serializing_if = "Option::is_none")] pub vod: Option<Vod>, + #[serde(default)] + pub skip_ads: bool, } fn frontmatter_about() -> String { |
