File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11[ ![ Hexo Deploy] ( https://github.com/ZebinGao/ZebinGao.github.io/actions/workflows/deploy.yml/badge.svg )] ( https://github.com/ZebinGao/ZebinGao.github.io/actions/workflows/deploy.yml )
22# hexo new 文章标题
3- >>> hexo new 如何在hexo博客写作
4- # 或者是
5- # hexo new 文章标题 --path 路径/文件名.md
6- # 或者可以简写一下
7- # hexo new 文章标题 -p 路径/文件名.md
8- >>> hexo new "如何在hexo博客写作" -p 计算机科学/博客/如何在hexo博客写作.md
9- # tips:如果不设置路径的话,新建文章是默认存储在\source\_ posts\这个路径下的。
10- # tips:一般在标题下有空格或者其他字符要给标题加上双引号
11-
3+ - hexo new 如何在hexo博客写作
4+ - hexo new 文章标题 --path 路径/文件名.md
5+ - 或者可以简写一下
6+ - hexo new 文章标题 -p 路径/文件名.md
7+ - hexo new "如何在hexo博客写作" -p 计算机科学/博客/如何在hexo博客写作.md
8+ - tips:如果不设置路径的话,新建文章是默认存储在\source\_ posts\这个路径下的。
9+ - tips:一般在标题下有空格或者其他字符要给标题加上双引号
10+ ```
1211hexo clean
1312hexo g
1413hexo d
15- # 逐步输入以上三条指令,执行完再输入下一条
16- # 或者一次性输入三条也是可以的,但新手还不建议一次性输入,前期部署可能有时候容易出错
14+ ```
15+ - 逐步输入以上三条指令,执行完再输入下一条
16+ - 或者一次性输入三条也是可以的,但新手还不建议一次性输入,前期部署可能有时候容易出错
1717hexo clean && hexo g && hexo d
18- # 部署完了看一下窗口没有出现报错就可以去博客刷新一下内容了,一般需要几分钟才更新内容
18+ - 部署完了看一下窗口没有出现报错就可以去博客刷新一下内容了,一般需要几分钟才更新内容
You can’t perform that action at this time.
0 commit comments