[Hexo] Create hexo github page

install Node.js

$ wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh

install hexo

$ npm install hexo-cli -g
$ hexo init blog # blog = <file name>
$ cd blog

set theme

$ git clone https://github.com/probberechts/hexo-theme-cactus.git themes/cactus
$ vi _config.yml
1
theme: cactus

setting deploy config.

$ npm install hexo-deployer-git --save
$ vi _config.yml
1
2
3
deploy:
type: git
repo: https://github.com/HenryPaik1/HenryPaik1.github.io.git

apply modification & run hexo server

$ hexo g
$ hexo s

sync github

$ hexo d

refernce:
https://github.com/probberechts/hexo-theme-cactus
https://hexo.io/docs/commands

< !-- add by yurixu 替换Google的jquery并且添加判断逻辑 -->