Hello World

Welcome to Hexo! This is your very first post. 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.

Quick Start

Create a new post

1
$ hexo new "My New Post"

More info: Writing

Run server

1
$ hexo server

More info: Server

Generate static files

1
$ hexo generate

More info: Generating

Deploy to remote sites

1
$ hexo deploy

More info: Deployment

发布/删除 文章

创建文章

进入博客目录,在 /source/_posts 文件夹下直接建立一个.md文件

1
hexo new "文章的题目"

发布新文章

文章写好后,直接在git bash中执行以下命令即可直接发布文章

1
hexo d -g

删除文章就是直接在source/_posts 文件夹下删除对应的.md文件,然后运行hexo d -g;

Donate
  • Copyright: Copyright is owned by the author. For commercial reprints, please contact the author for authorization. For non-commercial reprints, please indicate the source.

扫一扫,分享到微信

微信分享二维码
  • Copyrights © 2015-2022 John Doe
  • Visitors: | Views:

请我喝杯咖啡吧~

支付宝
微信