diff --git a/src/config/definition.rs b/src/config/definition.rs index 136ae6f..fb8c1bc 100644 --- a/src/config/definition.rs +++ b/src/config/definition.rs @@ -4,10 +4,17 @@ use serde::Serialize; /// This is the struct for the writer.toml config file that ends up in each site's root directory. #[derive(Deserialize, Serialize)] pub(crate) struct Config { - foo: String, + site_title: String, + author: Option, + email: Option, } + impl Default for Config { fn default() -> Self { - Config { foo: "".to_owned() } + Config { + site_title: "My super awesome website".to_owned(), + author: None, + email: None, + } } }