Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/yoshiharuyamashita/blackburn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Morgan <sjm@sjm.io>2017-09-01 17:19:58 +0300
committerSimon Morgan <sjm@sjm.io>2017-09-01 17:19:58 +0300
commitdc1b04f1a5b4c26570e62d155c165e0fa202ae85 (patch)
tree1418b344dd0cc569620c214b72b25e1a0b28c1c2
parent7231069ae44dae371e0c57b85a3c1c5d04f59ab3 (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.md2
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 = []