完善文档✅
This commit is contained in:
parent
b7afb06916
commit
ffebcb1099
@ -59,7 +59,10 @@
|
|||||||
- 通过配置文件 `src/config.ts` 自定义博客
|
- 通过配置文件 `src/config.ts` 自定义博客
|
||||||
- 执行 pnpm newpost '文章标题' 创建新文章,并在 src/content/posts/ 目录中编辑
|
- 执行 pnpm newpost '文章标题' 创建新文章,并在 src/content/posts/ 目录中编辑
|
||||||
- 参考官方指南将博客部署至 Vercel, Netlify,Cloudflare Pages, GitHub Pages 等
|
- 参考官方指南将博客部署至 Vercel, Netlify,Cloudflare Pages, GitHub Pages 等
|
||||||
- 部署前需编辑 `astro.config.mjs` 中的站点设置。
|
|
||||||
|
### ⚠️ Hexo 迁移 Astro 方法
|
||||||
|
|
||||||
|
> `Hexo` 的部署、使用、自动化部署等方法 完全适用于 `Astro`,只需要将 `Hexo` 博客的 `src/_posts/` 目录下的文章文件迁移至 `Astro` 目录下的 `src/content/blog/` 目录下即可,然后自定义 `src/config.ts` 配置文件去自定义博客。<br> 此时,你已成功迁移 Hexo 博客至 Astro 博客!
|
||||||
|
|
||||||
### 自动部署
|
### 自动部署
|
||||||
|
|
||||||
|
|||||||
@ -76,6 +76,10 @@ top: true
|
|||||||
- 参考官方指南将博客部署至 Vercel, Netlify,Cloudflare Pages, GitHub Pages 等
|
- 参考官方指南将博客部署至 Vercel, Netlify,Cloudflare Pages, GitHub Pages 等
|
||||||
- 部署前需编辑 `astro.config.mjs` 中的站点设置。
|
- 部署前需编辑 `astro.config.mjs` 中的站点设置。
|
||||||
|
|
||||||
|
### ⚠️ Hexo 迁移 Astro 方法
|
||||||
|
|
||||||
|
> `Hexo` 的部署、使用、自动化部署等方法 完全适用于 `Astro`,只需要将 `Hexo` 博客的 `src/_posts/` 目录下的文章文件迁移至 `Astro` 目录下的 `src/content/blog/` 目录下即可,然后自定义 `src/config.ts` 配置文件去自定义博客。<br> 此时,你已成功迁移 Hexo 博客至 Astro 博客!
|
||||||
|
|
||||||
|
|
||||||
## 📄 文章格式
|
## 📄 文章格式
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user