Skip to content

Commit

Permalink
ref!: create norg documents with authors metadata field as an array
Browse files Browse the repository at this point in the history
  • Loading branch information
NTBBloodbath committed Aug 19, 2024
1 parent 75f493d commit f7da194
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/cmd/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ async fn create_index_norg(root: &str) -> Result<()> {
r#"@document.meta
title: hello norgolith
description: This is my first post made with Norgolith :D
authors: {}
authors: [
{}
]
categories: []
created: {}
updated: {}
Expand Down
4 changes: 3 additions & 1 deletion src/cmd/new.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ async fn create_norg_document(path: &str, name: &str) -> Result<()> {
r#"@document.meta
title: {}
description:
authors: {}
authors: [
{}
]
categories: []
created: {}
updated: {}
Expand Down

0 comments on commit f7da194

Please sign in to comment.