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 (直接生成html代码) |
More info: Generating
Deploy to remote sites
1 | $ hexo deploy (或者hexo d,这里面要配置config.yml里面的deploy项:空格空格空格,重要的事说三遍+) |
md文件头信息1
2
3
4
5
6
7
8
9
10
11
12
13
14title: 新的开始
date: 2014-05-07 18:44:12
updated : 2014-05-10 18:44:12
permalink: abc
tags:
- 开始
- 我
- 日记
categories:
- 日志
- 第一天
---
以下为主题内容
More info: Deployment