You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### 创建文章/页面
```bash
hexo new post "文章标题"
hexo new page "页面名称"
```
你可以不写双引号,但是推荐写上,尤其是中文标题,还带空格的。
默认new是创建post,所以你可以不写post。
### 部署到Github Pages
先配置项目根目录的`_config.yml`,主要是文件最后面的deploy部分。
到这里基本就完成了,你的网站已经可以在Github Pages上访问了。
下面的内容,一般读者可以不看。
### 简写
```bash
hexo n == hexo new
hexo g == hexo generate
hexo s == hexo server
hexo d == hexo deploy
```
上面的这段markdown解析不正确,会变成下面这样:
The text was updated successfully, but these errors were encountered:
上面的这段markdown解析不正确,会变成下面这样:
The text was updated successfully, but these errors were encountered: