Browse Source

Update default.md

From Hugo 0.24 the date/title must be part of the archetype
pull/37/head
E.Iosifidis 1 year ago
parent
commit
b11cb92b24
No account linked to committer's email address
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      archetypes/default.md

+ 3
- 0
archetypes/default.md View File

@@ -1,2 +1,5 @@
1 1
 +++
2
+title = "{{ replace .Name "-" " " | title }}"
3
+date = {{ .Date }}
4
+draft = true
2 5
 +++

Loading…
Cancel
Save