Create a github repo <username>.github.io and edit _config.yml:
1
url:<username>.github.io
Download a theme
1 2 3
# 2 alternative themes that I find useful git clone https://github.com/cofess/hexo-theme-pure.git themes/pure git clone https://github.com/yscoder/hexo-theme-indigo themes/indigo
Then edit the theme property in _config.yml and setup theme-specific properties in themes/<theme>/_config.yml
Preview Locally
1
hexo serve
Publish
For GitHub Pages, we need to install hexo-deployer-git plugin and config the deploy property in _config.yml. Note that personal pages must be pushed to the master branch (not gh-pages!)
Most themes have built-in support for comment systems. I personally find gitalk to be the most easy-to-use one. You just need to apply for a new Git OAuth application and fill in necessary info in themes/<theme>/_config.yml: