
环境初始化
1  | npm install hexo-cli -g //安装hexo modules  | 
Quick Start
Create a new post
1  | $ hexo new "My New Post"  | 
More info: Writing
Run server
1  | $ hexo server //生成本地Service http://localhost:4000/ 访问地址 hexo s 简写  | 
More info: Server
Generate static files
1  | $ hexo generate //生成静态HTML hexo g 简写  | 
More info: Generating
Deploy to remote sites
1  | $ hexo deploy //部署到GitHub hexo d 简写  | 
More info: Deployment
配置文件 _config.yml
1  | deploy:  | 
常用命令
1  | hexo g #完整命令为hexo generate,用于生成静态文件  | 
背景图设置
1  | ..\themes\next\layout\_layout.swig 目录 找到<Body>标签 设置背景图片  |