diff options
author | Frode Nordahl <frode.nordahl@gmail.com> | 2018-02-03 12:22:59 +0300 |
---|---|---|
committer | Frode Nordahl <frode.nordahl@gmail.com> | 2018-02-03 12:22:59 +0300 |
commit | e63a6cb25da0c4c1ee78f8e52cf129058555cce0 (patch) | |
tree | d345650131b8c027d7403d9ccf9e3b517daac9be | |
parent | fd7d1adc54ab47a04e4dd712d9d31143c0017776 (diff) |
Add date and title to archetype file
From Hugo 0.24 this must be provided in the archetype file
itself.
Fixes #16
-rw-r--r-- | archetypes/default.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/archetypes/default.md b/archetypes/default.md index 3b793e3..e69349d 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -1,3 +1,6 @@ +++ +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +++ |