From 8261eed6f8c2aeb2488a481f1d89ab9c8ff3a119 Mon Sep 17 00:00:00 2001 From: Ngô Ngọc Đức Huy Date: Sat, 29 Jul 2023 17:33:12 +0700 Subject: Support multilingual --- archetypes/blog.md | 4 ++-- archetypes/book.md | 4 ++-- archetypes/default.md | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'archetypes') diff --git a/archetypes/blog.md b/archetypes/blog.md index 2f7a907..4299061 100644 --- a/archetypes/blog.md +++ b/archetypes/blog.md @@ -1,6 +1,6 @@ -+++ +--- title: "{{ replace .Name "-" " " | title }}" date: {{ now.Format "2026-01-02" }} categories: [ blog ] draft: true -+++ +--- diff --git a/archetypes/book.md b/archetypes/book.md index 0da07c8..0218afb 100644 --- a/archetypes/book.md +++ b/archetypes/book.md @@ -1,6 +1,6 @@ -+++ +--- title: "{{ replace .Name "-" " " | title }}" weight: categories: [ book ] draft: true -+++ +--- diff --git a/archetypes/default.md b/archetypes/default.md index 351a260..26f317f 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -1,5 +1,5 @@ -+++ +--- title: "{{ replace .Name "-" " " | title }}" date: {{ .Date }} draft: true -+++ +--- -- cgit 1.4.1