Frontmatter

Understand how the frontmatter of your markdown can be structured

documentation posts saaru


Internal Definition

#[derive(Clone, Serialize, Deserialize, Debug)]
pub struct FrontMatter {
    pub title: Option<String>,
    pub description: Option<String>,
    pub date: Option<String>,
    pub tags: Option<Vec<String>>,
    pub collections: Option<Vec<String>>,
    pub wip: Option<bool>,
    pub template: Option<String>,
    pub link: Option<String>,
    pub meta: Option<Value>,
}

All these fields are optional.