Skip to content

Commit

Permalink
add post template
Browse files Browse the repository at this point in the history
  • Loading branch information
NeroBlackstone committed Jun 26, 2021
1 parent 7ddd54c commit 80ed6a9
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
29 changes: 29 additions & 0 deletions .forestry/front_matter/templates/new-posts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
label: New post
hide_body: false
fields:
- type: text
name: title
label: title
description: Title of posts
- type: text
name: description
label: description
description: description of post
- type: datetime
name: date
label: date
config:
date_format: YYYY/MM/DD
export_format: YYYY-MM-DD
description: post date
- type: file
name: img
label: img
description: cover image
- type: list
name: tags
label: tags
description: Tags of this post
config:
use_select: false
2 changes: 1 addition & 1 deletion src/posts/MarkdownExample.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,4 @@ Insert MusicXML :

<osmd-container file="Beethoven"><osmd-container/>

<midi-container file="sample" type="piano-roll"><midi-container/>
<midi-container file="sample" type="piano_roll"><midi-container/>

0 comments on commit 80ed6a9

Please sign in to comment.