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.
更多主题可以在 hexo主题中找到,个人喜欢简洁风格,所以当前博客主题用的是next,修改主题的方法我放在下面了。

Quick Start

Create a new post

1
$ hexo new "My New Post"

More info: Writing

修改主题

找到对应主题的github地址

1
git clone https://github.com/next-theme/hexo-theme-next themes/next

执行后next主题会放在themes目录下;

打开 Hexo配置文件_config.yml 修改 theme变量为 next

1
theme: next

一般主题一个月会更新一次,所以想要体验最新主题,可以cd 到next目录下,git pull即可。

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