From cffd284759d6bb7b7f7e19273ad3363b6b5031c1 Mon Sep 17 00:00:00 2001 From: BigCoke233 Date: Sun, 1 Feb 2026 00:31:16 +0800 Subject: docs: move _templates to archetypes Former-commit-id: dc2a176678f5f71deb29382886ce0f2865391c62 --- .gitignore | 2 -- archetypes/default.md | 10 ++++++++++ archetypes/weekly.md | 24 ++++++++++++++++++++++++ content/_templates/post.md | 10 ---------- content/_templates/weekly.md | 24 ------------------------ 5 files changed, 34 insertions(+), 36 deletions(-) create mode 100644 archetypes/default.md create mode 100644 archetypes/weekly.md delete mode 100644 content/_templates/post.md delete mode 100644 content/_templates/weekly.md diff --git a/.gitignore b/.gitignore index d1ff4def..dc69f411 100644 --- a/.gitignore +++ b/.gitignore @@ -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/archetypes/weekly.md b/archetypes/weekly.md new file mode 100644 index 00000000..f7d23fe3 --- /dev/null +++ b/archetypes/weekly.md @@ -0,0 +1,24 @@ +--- +title: 稻草人周刊 Vol. +subtitle: +tags: +date: +categories: 稻草人周刊 +draft: true +toc: true +--- + +{{< music cover="" title="" artist="" apple="" spotify="" netease="" >}} + + + +## ↺ · 回拨 + +## ⋈︎ · 连接 + +## ⁂ · 星群 + +## ◍ · 穿越 + +## ↯ · 当下 + 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 ---- diff --git a/content/_templates/weekly.md b/content/_templates/weekly.md deleted file mode 100644 index f7d23fe3..00000000 --- a/content/_templates/weekly.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: 稻草人周刊 Vol. -subtitle: -tags: -date: -categories: 稻草人周刊 -draft: true -toc: true ---- - -{{< music cover="" title="" artist="" apple="" spotify="" netease="" >}} - - - -## ↺ · 回拨 - -## ⋈︎ · 连接 - -## ⁂ · 星群 - -## ◍ · 穿越 - -## ↯ · 当下 - -- cgit v1.2.3