Short reference for my Hexo/NexT workflow.

Official Site: https://hexo.io/
Version: 8.1.0

Workflow

With Git deployment

1
2
3
4
5
6
7
$ hexo new "My New Article"
# Edit source/_posts/My-New-Article.md
$ hexo clean
$ hexo generate
$ git add -A
$ git commit -m <msg>
$ git push

Maintenance

Update outdated npm packages. With npm-check-updates, run the following under the blog directory (./):

1
2
$ ncu -u
$ npm install

Configuration

Site config is stored in ./_config.yml

Read more »