diff options
author | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2021-10-20 21:02:49 +0700 |
---|---|---|
committer | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2021-10-20 21:02:49 +0700 |
commit | 3916d39585df6e8a75dffbb62762b8d33556d73b (patch) | |
tree | ab31a1b330d816cc62a0210b573ea7a5b46c59ce /archetypes | |
parent | ac6f31841c87e67a2f1554a5bb9a7f6efd54eeb3 (diff) | |
download | blog-3916d39585df6e8a75dffbb62762b8d33556d73b.tar.gz |
Configure archetype not to include time
Diffstat (limited to 'archetypes')
-rw-r--r-- | archetypes/comics.md | 2 | ||||
-rw-r--r-- | archetypes/default.md | 2 |
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 ] |