From 38b17e307ec7bb5b86609bac7452583807c8b246 Mon Sep 17 00:00:00 2001 From: Han <1655466387@qq.com> Date: Thu, 20 Mar 2025 20:04:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E6=96=87=E6=A1=A3=E2=9C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 40 ++++++++++++++++++ .../blog/Astro主题优雅的vhAstro-Theme.md | 41 ++++++++++++++++++- 2 files changed, 80 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fa7b6b3..84572b7 100644 --- a/README.md +++ b/README.md @@ -189,6 +189,46 @@ comment: false # 关闭页面评论(默认开启) --- ``` +## 🌈 项目结构 + +```t +. +├── public => 静态资源 +├── script => 命令 +├── src +│   ├── components => 组件 +│   ├── content +│   │   └── blog => 博客文章数据 +│   ├── layouts => Layout 布局 +│   ├── page_data => 页面数据 +│   ├── pages +│   │   ├── about => 关于页面 +│   │   ├── archives => 归档页面 +│   │   ├── article => 文章页面 +│   │   ├── categories => 分类页面 +│   │   ├── friends => 圈子页面 +│   │   ├── links => 友链页面 +│   │   ├── message => 留言页面 +│   │   ├── tag => 标签页面 +│   │   ├── talking => 动态页面 +│   │   ├── [...page].astro => 首页分页 +│   │   ├── 404.astro => 404页面 +│   │   ├── robots.txt.ts => 爬虫文件 +│   │   └── rss.xml.ts => RSS文件 +│   ├── plugins => 插件 +│   ├── scripts => 脚本 +│   ├── styles => 样式 +│   ├── type => 类型 +│   ├── utils => 工具 +│   ├── content.config.ts => 内容配置 +│   ├── config.ts => 配置 +├── tsconfig.json => Typescript 配置 +├── astro.config.mjs => Astro 配置 +├── package.json => 依赖管理 +└── pnpm-lock.yaml => 依赖锁定文件 +``` + + ## ✨ 反馈和建议 如果您有任何建议/反馈,您可以通过我的 [电子邮件](mailto:1655466387@qq.com) 联系我。或者,如果您发现错误或想要请求新功能,请随时打开问题。 diff --git a/src/content/blog/Astro主题优雅的vhAstro-Theme.md b/src/content/blog/Astro主题优雅的vhAstro-Theme.md index 50c73d5..d8abad6 100644 --- a/src/content/blog/Astro主题优雅的vhAstro-Theme.md +++ b/src/content/blog/Astro主题优雅的vhAstro-Theme.md @@ -43,7 +43,7 @@ top: true - [x] 语法高亮 - [x] 图片懒加载 - [x] 图片灯箱 -- [x] 支持 LivePhoto +- [x] LivePhoto - [x] LaTex数学公式 - [x] 赞赏功能 - [x] Twikoo 评论 @@ -195,6 +195,45 @@ export default { } ``` +## 🌈 项目结构 + +```t +. +├── public => 静态资源 +├── script => 命令 +├── src +│   ├── components => 组件 +│   ├── content +│   │   └── blog => 博客文章数据 +│   ├── layouts => Layout 布局 +│   ├── page_data => 页面数据 +│   ├── pages +│   │   ├── about => 关于页面 +│   │   ├── archives => 归档页面 +│   │   ├── article => 文章页面 +│   │   ├── categories => 分类页面 +│   │   ├── friends => 圈子页面 +│   │   ├── links => 友链页面 +│   │   ├── message => 留言页面 +│   │   ├── tag => 标签页面 +│   │   ├── talking => 动态页面 +│   │   ├── [...page].astro => 首页分页 +│   │   ├── 404.astro => 404页面 +│   │   ├── robots.txt.ts => 爬虫文件 +│   │   └── rss.xml.ts => RSS文件 +│   ├── plugins => 插件 +│   ├── scripts => 脚本 +│   ├── styles => 样式 +│   ├── type => 类型 +│   ├── utils => 工具 +│   ├── content.config.ts => 内容配置 +│   ├── config.ts => 配置 +├── tsconfig.json => Typescript 配置 +├── astro.config.mjs => Astro 配置 +├── package.json => 依赖管理 +└── pnpm-lock.yaml => 依赖锁定文件 +``` + ## 🌈 组件 ### 文本加粗