diff options
| author | BigCoke233 <hi@guhub.cn> | 2026-02-01 00:31:16 +0800 |
|---|---|---|
| committer | BigCoke233 <hi@guhub.cn> | 2026-02-01 00:31:16 +0800 |
| commit | cffd284759d6bb7b7f7e19273ad3363b6b5031c1 (patch) | |
| tree | a9fcaa4368d43f32a2dd4f81087611fa5b4eea27 | |
| parent | 25c8452de162cb21cb5112c67232e08255a323df (diff) | |
docs: move _templates to archetypes
Former-commit-id: dc2a176678f5f71deb29382886ce0f2865391c62
| -rw-r--r-- | .gitignore | 2 | ||||
| -rw-r--r-- | archetypes/default.md | 10 | ||||
| -rw-r--r-- | archetypes/weekly.md (renamed from content/_templates/weekly.md) | 0 | ||||
| -rw-r--r-- | content/_templates/post.md | 10 |
4 files changed, 10 insertions, 12 deletions
@@ -6,8 +6,6 @@ content/posts/_template.md # ignore since no content is generated here /resources -# ignore archetypes since no archetype is used -/archetypes .DS_Store /content/.obsidian /content/templates diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 00000000..e9bad196 --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,10 @@ ++++ +title = '' +subtitle = '' +slug = '' +tags = [] +categories = '' +date = {{ .Date }} +draft = true +toc = true ++++ diff --git a/content/_templates/weekly.md b/archetypes/weekly.md index f7d23fe3..f7d23fe3 100644 --- a/content/_templates/weekly.md +++ b/archetypes/weekly.md diff --git a/content/_templates/post.md b/content/_templates/post.md deleted file mode 100644 index a09920e3..00000000 --- a/content/_templates/post.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: -subtitle: -slug: -tags: -categories: -date: -draft: true -toc: true ---- |
