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

github.com/gyorb/hugo-dusk.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGyorgy Orban <o.gyorgy@gmail.com>2017-11-20 21:47:06 +0300
committerGyorgy Orban <o.gyorgy@gmail.com>2017-11-20 23:33:22 +0300
commit0edfccf1aa6006e3215981ef56f1a7fd1ee43113 (patch)
treea5a2af414078ba88c98fdced287cae6be933b37d
parent77d37b5a5d7a7b96cc316dc774aef6d930f4bb1a (diff)
extend default archetype and use yaml format
title and date are required since Hugo v0.24
-rw-r--r--archetypes/default.md15
1 files changed, 11 insertions, 4 deletions
diff --git a/archetypes/default.md b/archetypes/default.md
index 39b4599..8e185c2 100644
--- a/archetypes/default.md
+++ b/archetypes/default.md
@@ -1,4 +1,11 @@
-+++
-tags = ["x","y"]
-categories = ["x","y"]
-+++
+---
+title: "{{ replace .TranslationBaseName "-" " " | title }}"
+date: {{ .Date }}
+tags:
+ - x
+ - y
+categories:
+ - x
+ - y
+draft: true
+---