mirror of
https://github.com/zyllian/webdog.git
synced 2025-05-10 02:26:42 -07:00
add command for creating a new page
This commit is contained in:
parent
0d9c48db40
commit
b1a6e052e1
4 changed files with 53 additions and 4 deletions
|
@ -107,7 +107,7 @@ impl SiteConfig {
|
|||
pub struct TemplateMetadata {}
|
||||
|
||||
/// Struct for the front matter in pages.
|
||||
#[derive(Debug, Default, Deserialize)]
|
||||
#[derive(Debug, Default, Serialize, Deserialize)]
|
||||
pub struct PageMetadata {
|
||||
/// The page's title.
|
||||
pub title: Option<String>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue