diff options
author | danielkvist <d94.zaragoza@gmail.com> | 2018-12-04 21:58:23 +0300 |
---|---|---|
committer | danielkvist <d94.zaragoza@gmail.com> | 2018-12-04 21:58:23 +0300 |
commit | 66860872f7b85b07dbf00ef54c0abdc28e1eecd2 (patch) | |
tree | 419a0b993469f4230e57491fa641e3f338f2bcb1 /archetypes | |
parent | 829666ee915edfb7813594ea7ab34fbc1e8333b1 (diff) |
add basic archetype for posts
Diffstat (limited to 'archetypes')
-rw-r--r-- | archetypes/default.md | 6 | ||||
-rw-r--r-- | archetypes/post.md | 11 |
2 files changed, 15 insertions, 2 deletions
diff --git a/archetypes/default.md b/archetypes/default.md index ac36e06..21985ce 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -1,2 +1,4 @@ -+++ -+++ +--- +title: "{{ replace .Name "-" " " | title }}" +draft: true +--- diff --git a/archetypes/post.md b/archetypes/post.md new file mode 100644 index 0000000..c9bd76f --- /dev/null +++ b/archetypes/post.md @@ -0,0 +1,11 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +publishDate: {{ now.Format "2006-01-02" }} +author: "John Doe" +draft: true +description: "" +tags: [] +--- + +## Somethign Awesome |