Skip to content
A simple, elegant, book-like hexo theme with some useful features.
Branch: master
Clone or download
Latest commit 59549a7 Jul 13, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
languages home post style Apr 24, 2019
layout Import Google Analytics Jul 13, 2019
scripts more logical method to render sidebar menu Apr 29, 2019
source responsive layout Jun 28, 2019
LICENSE add license Apr 28, 2019 Import Google Analytics Jul 13, 2019
_config.yml Import Google Analytics Jul 13, 2019



git clone themes/book

If you don't have scss renderer, follow this:

npm install hexo-renderer-scss --save

Modify theme entry in _config.yml

theme: book

Change markdown renderer

For better render quality, I suggest that you should change the default renderer.

The detail, see change markdown renderer

Katex support

For Katex support, please follow the instruction above to change your renderer to hexo-renderer-markdown-it, after that, see katex support


The detail of config, see Configuration

Smooth Update

For smoothly updating, I recommand to create a config file named book.yml in /source/_data folder (If it doesn't exist, create one)

Notice: source folder is under your hexo work directory, not the theme one!

Copy the contents of /themes/book/_config.yml to /source/_data/book.yml, it will replace the contents of config in /themes/book/_config.yml. Now you can configure it independently and also, you can update theme more smoothly.

Post front-matter

title: <string>
comments: <boolean> (default: true)


Jump into the theme folder, run git pull. If you use /source/_data/book.yml, please note the diffrence of updated _config.yml.

You can’t perform that action at this time.