欢迎来到 Hexo! 这是你的第一个文章. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

快速开始!

创建新的博客

1
$ hexo new "My New Post"

更多: Writing

运行博客

1
$ hexo server

更多: Server

生成静态文件

1
$ hexo generate

更多: Generating

部署到远程网站

1
$ hexo deploy

更多: Deployment

文章扩展

折叠信息

1
2
3
{% hideToggle 标题,背景颜色,颜色 %}
content
{% endhideToggle %}
Butterfly安裝方法

在你的博客根目錄裏

git clone -b master https://github.com/jerryc127/hexo-theme-butterfly.git themes/Butterfly

如果想要安裝比較新的dev分支,可以

git clone -b dev https://github.com/jerryc127/hexo-theme-butterfly.git themes/Butterfly

hexo问题

上传到Github与本地运行不同

1
hexo clean && hexo generate && hexo deploy

Markdown图片问题

将图片放到 themes\butterfly\source\img\ 文件夹下方