0%

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.

Quick Start

Create a new post

1
$ hexo new "My New Post" or hexo new post "my new post"

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

Hexo 常用命令

$ hexo new "文件名" # 新建文章
$ hexo g # 生成静态网页 可以在本地项目根目录下的public文件夹下查看生成的文件形式
$ hexo s # 本地预览 可以查看是否在正常运行
$ hexo d # 部署到你的博客网页上