Some Notes About Hexo

Some Notes About Hexo

Websites

Official: hexo.io

Instructions:
- 使用 Hexo+GitHub 搭建个人免费博客教程(小白向)
- Hexo系列 | Hexo的基本使用

Get Ready

Environment

Node.js Git

Check if installed successfully:

1
2
3
node -v
npm -v
git --version

Initializing

Type hexo init [destination directory] to initialize a folder.

1
2
cd [destination directory]
npm install # Install related plugs

Preview:

1
2
hexo g(enerate) # Generate page
hexo s(erver) # Start up preview

Visit http://localhost:4000/ to see the default page.

More Operations

Themes

The theme I'm using now is called "Next".

I think it's clean and easy to configure, though I haven't got the trick. So there's still a long way to go.

Scaffold

Categories and Tags

I have some problems with them... They just can't be visited.