Hexo入门

Welcome to Calamus! This is my very first post. Check documentation for more info. If you get any problems when using Hexomd, 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

More info: Generating

Deploy to remote sites

1
$ hexo deploy

More info: Deployment

发布

1
hexo generate -d

发布到GitHub上出现404等问题

1.clean后再重新发布

1
hexo clean

2.更改url地址
1
2
url: http://www.nideyuming.com/blog/
root: /blog

增加搜索功能

https://www.cnblogs.com/doublezcc/p/6140788.html
https://www.jianshu.com/p/5973c05d7100
http://www.qingpingshan.com/m/view.php?aid=386198