diff --git a/README.md b/README.md index 5c2e258..4fe7156 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,7 @@ - 页面与布局:`src/pages/`、`src/layouts/` - 通用组件:`src/components/`(如 `Img.astro` 支持外部图床) - 内容扩展抽象:`src/lib/content/`(为未来 Typst 等格式预留) + - 标签规范:根目录 `tags.config.yaml`(建议统一文章标签使用) ## 配置与类型 diff --git a/src/content/posts/collaboration/git-basics.md b/src/content/posts/collaboration/git-basics.md new file mode 100644 index 0000000..be07194 --- /dev/null +++ b/src/content/posts/collaboration/git-basics.md @@ -0,0 +1,9 @@ +--- +title: Git 基础 +description: 介绍 Git 的基本概念和常用命令。 +pubDate: 2025-11-27 +tags: + - Git + - 版本控制 + - 协作基础 +--- \ No newline at end of file diff --git a/src/content/posts/hello-world.mdx b/src/content/posts/hello-world.mdx index 0ff1ed6..94531a3 100644 --- a/src/content/posts/hello-world.mdx +++ b/src/content/posts/hello-world.mdx @@ -1,7 +1,7 @@ --- title: 你好,Astro! description: 内部学习博客的第一篇文章。 -pubDate: 2024-11-27 +pubDate: 2025-11-27 tags: ["简介", "Astro"] --- diff --git a/tags.config.yaml b/tags.config.yaml new file mode 100644 index 0000000..d10fac3 --- /dev/null +++ b/tags.config.yaml @@ -0,0 +1,34 @@ +# tags.config.yaml(建议维护一份标签规范) + +# 1. 技术标签(小写、具体) +tech_tags: + - git, docker, kubernetes + - javascript, python, rust + - react, vue, astro + +# 2. 主题标签(语义化) +topic_tags: + - version-control + - concurrency + - security + - performance + +# 3. 用途标签(功能性) +purpose_tags: + - onboarding # 新人必读 + - reference # 速查手册 + - deep-dive # 深度文章 + - troubleshooting # 问题解决 + +# 4. 优先级标签 +priority_tags: + - p0-must-know # 核心必修 + - p1-should-know # 建议掌握 + - p2-nice-to-know # 可选了解 + +# 5. 业务相关 +business_tags: + - education-tech + - compliance + - mvp +