Install Hexo
1 | $ npm install -g hexo-cli |
Repository
1 | git clone https://github.com/GITPAGEUSERNAME/GITPAGEUSERNAME.github.io.git .deploy/GITPAGEUSERNAME.github.io |
Shell Script
1 | #!/bin/bash |
Custom Domain Setting Reference
1 | https://help.github.com/articles/setting-up-an-apex-domain/ |
Custom Domain 對應到 GitHub page
1 | $ dig blog.codefun.tw +nostats +nocomments +nocmd |
Command
常用基本指令
1 | $ hexo g # 或者 hexo generate |
常用簡寫
1 | $ hexo n == hexo new |
常用組合
1 | $ hexo d -g # 生成部署 |
Plugins
1 | $ npm install hexo-generator-feed |