Hexo @ GitHub Setup

SetHexo

  1. Create github Repository
1
2
Public
yourname.gitgub.io
  1. Install Hexo
1
sudo npm install hexo-cli -g

if deploy git error

1
sudo npm install hexo-deployer-git --save
  1. Create doc
1
hexo init [folder]

Create blog page

1
hexo new "pagename"

  1. deploy
1
2
hexo clean
hexo d -g
  1. Modify navbar
    sample landscape

    1
    edit _config.yml
  2. DISQUS
    _config.yml (root)

    1
    2
    # Disqus
    disqus_shortname: 這裡填剛剛的 Shortname

Reference

GitHub+Hexo

GitHub+Hexo 搭建个人网站详细教程

自行修改Hexo主题

[Hexo] 加入 Disqus 讓 Blog多個留言功能