diff options
author | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2023-07-28 20:50:19 +0700 |
---|---|---|
committer | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2023-07-28 20:50:19 +0700 |
commit | 1ce0ada18e576a5aaac0d3dc28bd60575a1fdab8 (patch) | |
tree | 53499c577b96c91f83860c6d662819c9ae97f3fb /archetypes | |
parent | f77a7a18d6f272aee21d77df9775600574cb2b00 (diff) | |
download | victor-1ce0ada18e576a5aaac0d3dc28bd60575a1fdab8.tar.gz |
Add layout for book and post
Diffstat (limited to 'archetypes')
-rw-r--r-- | archetypes/blog.md | 6 | ||||
-rw-r--r-- | archetypes/book.md | 6 | ||||
-rw-r--r-- | archetypes/default.md | 6 |
3 files changed, 12 insertions, 6 deletions
diff --git a/archetypes/blog.md b/archetypes/blog.md new file mode 100644 index 0000000..e5acb6f --- /dev/null +++ b/archetypes/blog.md @@ -0,0 +1,6 @@ ++++ +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +categories: [ blog ] +draft: true ++++ diff --git a/archetypes/book.md b/archetypes/book.md new file mode 100644 index 0000000..0da07c8 --- /dev/null +++ b/archetypes/book.md @@ -0,0 +1,6 @@ ++++ +title: "{{ replace .Name "-" " " | title }}" +weight: +categories: [ book ] +draft: true ++++ diff --git a/archetypes/default.md b/archetypes/default.md index d6c9481..351a260 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -1,9 +1,3 @@ -<!-- -SPDX-FileCopyrightText: 2022 Ngô Ngọc Đức Huy <huyngo@disroot.org> - -SPDX-License-Identifier: MIT ---> - +++ title: "{{ replace .Name "-" " " | title }}" date: {{ .Date }} |