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

github.com/IvanChou/hugo-theme-vec.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Chou <me@ichou.cn>2018-06-01 18:06:50 +0300
committerGitHub <noreply@github.com>2018-06-01 18:06:50 +0300
commit68891d32943acd69c0cb0a61d877f24824b40177 (patch)
tree66132e6aa35a71e6f1d1e535a7fd4759fc0bb348
parentca4367cf0f8cd64a96338cdc3a6342144c853821 (diff)
parent812f275bd38f95718c119373dfff47b8ee202474 (diff)
Merge pull request #11 from prashantkhurana/update
Hugo requires title,date etc in archtype file
-rw-r--r--archetypes/default.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/archetypes/default.md b/archetypes/default.md
index 9fbecf2..d491519 100644
--- a/archetypes/default.md
+++ b/archetypes/default.md
@@ -3,4 +3,6 @@ toc = false
draft = true
comments = false
slug = ""
+title = "{{ replace .TranslationBaseName "-" " " | title }}"
+date = {{ .Date }}
+++ \ No newline at end of file