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

github.com/jrutheiser/hugo-lithium-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Rutheiser <jonathan.rutheiser@gmail.com>2018-03-07 21:41:18 +0300
committerGitHub <noreply@github.com>2018-03-07 21:41:18 +0300
commit6f4aa180c300293653b258ecc97f71c3293f8c29 (patch)
treed345650131b8c027d7403d9ccf9e3b517daac9be
parentfd7d1adc54ab47a04e4dd712d9d31143c0017776 (diff)
parente63a6cb25da0c4c1ee78f8e52cf129058555cce0 (diff)
Merge pull request #17 from fnordahl/add-title-date-archetype
Add date and title to archetype file
-rw-r--r--archetypes/default.md3
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
+++