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

github.com/LordMathis/hugo-theme-nix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorE.Iosifidis <iosifidise@gmail.com>2018-03-31 13:41:19 +0300
committerGitHub <noreply@github.com>2018-03-31 13:41:19 +0300
commitb11cb92b243a38b5e45c92df53578d2ab20555f5 (patch)
tree16059ce761e453a030e99c1043dbad34fa72be94 /archetypes
parent49df5e60ba39637ac6ded7743fd42c1762eba728 (diff)
Update default.md
From Hugo 0.24 the date/title must be part of the archetype
Diffstat (limited to 'archetypes')
-rw-r--r--archetypes/default.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/archetypes/default.md b/archetypes/default.md
index ac36e06..4f0d590 100644
--- a/archetypes/default.md
+++ b/archetypes/default.md
@@ -1,2 +1,5 @@
+++
+title = "{{ replace .Name "-" " " | title }}"
+date = {{ .Date }}
+draft = true
+++