add command for creating a new page

This commit is contained in:
zyl 2024-11-08 19:20:25 -08:00
parent 0d9c48db40
commit b1a6e052e1
Signed by: zyl
SSH key fingerprint: SHA256:uxxbSXbdroP/OnKBGnEDk5q7EKB2razvstC/KmzdXXs
4 changed files with 53 additions and 4 deletions

View file

@ -64,7 +64,7 @@ impl<'r> ResourceTemplateData<'r> {
}
/// struct for adding custom meta content embeds
#[derive(Debug, Deserialize)]
#[derive(Debug, Serialize, Deserialize)]
pub struct EmbedMetadata {
pub title: String,
#[serde(default)]