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


预处理器很强大,但它只是编写 CSS 的辅助工具。出于对扩展和维护等方面的考虑,在大型项目中有必要使用预处理器构建 CSS;但是对于小型项目,原生的 CSS 可能是一种更好的选择。不要肆意使用预处理器!

Create a new post

1
$ hexo new "My New Post"
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
public class AuditEntity extends PersistableBusinessObject {
private static final int MAX_VARCHAR_LEN = 255;
private Long id;
private String className;
private String name;
private Long entityId;
private List<AuditVersion> versions = new ArrayList();

public AuditEntity() {
}

public void addVersion(AuditVersion version) {
version.setEntity(this);
this.versions.add(version);
}
}

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