diff options
author | Simon Morgan <sjm@sjm.io> | 2017-09-01 17:19:58 +0300 |
---|---|---|
committer | Simon Morgan <sjm@sjm.io> | 2017-09-01 17:19:58 +0300 |
commit | dc1b04f1a5b4c26570e62d155c165e0fa202ae85 (patch) | |
tree | 1418b344dd0cc569620c214b72b25e1a0b28c1c2 | |
parent | 7231069ae44dae371e0c57b85a3c1c5d04f59ab3 (diff) |
Fix archetype missing date and title warning
Hugo 0.24 onwards requires the date and title to be provided in the
archetype.
-rw-r--r-- | archetypes/default.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/archetypes/default.md b/archetypes/default.md index ee0177b..b6ec759 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -1,4 +1,6 @@ +++ +title = "{{ replace .TranslationBaseName "-" " " | title }}" +date = {{ .Date }} draft = true tags = [] topics = [] |