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
2
$ hexo server
$ hexo s

More info: Server

Generate static files

1
2
$ hexo generate
$ hexo g

More info: Generating

Deploy to remote sites

1
2
$ hexo deploy
$ hexo d

More info: Deployment

Clean and generate and deploy

1
hexo clean && hexo d --g

Don’t send referrer info to load image

1
<meta name="referrer" content="no-referrer"/> 

按照年份移动md文件进制定的年份文件夹

1
grep -r "date: 2020-" *.md -l | xargs mv -v -t 2020/

参考:https://muxiner.github.io/organize-files/