about summary refs log tree commit diff
path: root/archetypes
diff options
context:
space:
mode:
authorNgô Ngọc Đức Huy <huyngo@disroot.org>2021-10-20 21:02:49 +0700
committerNgô Ngọc Đức Huy <huyngo@disroot.org>2021-10-20 21:02:49 +0700
commit3916d39585df6e8a75dffbb62762b8d33556d73b (patch)
treeab31a1b330d816cc62a0210b573ea7a5b46c59ce /archetypes
parentac6f31841c87e67a2f1554a5bb9a7f6efd54eeb3 (diff)
downloadblog-3916d39585df6e8a75dffbb62762b8d33556d73b.tar.gz
Configure archetype not to include time
Diffstat (limited to 'archetypes')
-rw-r--r--archetypes/comics.md2
-rw-r--r--archetypes/default.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/archetypes/comics.md b/archetypes/comics.md
index 212e7de..1195995 100644
--- a/archetypes/comics.md
+++ b/archetypes/comics.md
@@ -4,7 +4,7 @@ title: "{{ .Name }}: "
 titleText: "something humorous"
 comicLink: "/comics/0/impostor.png"
 alt: Something humorous and/or image description
-date: 2021-06-13
+date: {{ now.Format "2021-06-13" }}
 translationKey: comic-{{ .Name }}
 categories: [ comics ]
 ---
diff --git a/archetypes/default.md b/archetypes/default.md
index dd8a2f3..38bf835 100644
--- a/archetypes/default.md
+++ b/archetypes/default.md
@@ -1,6 +1,6 @@
 ---
 title: "{{ replace .Name "-" " " | title }}"
-date: {{ .Date }}
+date: {{ now.Format "2021-06-13" }}
 draft: true
 lang: en
 categories: [ blog ]