Usig hexo for blogging

I decided to move to a markdown based, static, website generator and opted to use hexo.


To start writing install the hexo cli and initialize the work folder

npm install hexo-cli -g
hexo init blog
cd blog
npm install

Run the preview server with hexo server and visit localhost:4000

Basic configuration

General configuration reside in _config.yml most noticeable blog title and meta information.

Create a post

Create a new post with hexo new "My post". It will be placed in sources/_posts

More details about the metadata of the post can be found at

Installing a theme

Themes can be choosen from the themes gallery and installed under theme folder. Click on the theme name to get to the repository.

For example to use minima add it to the theme folder

cd themes
git clone minima