项目作者: oif

项目描述 :
A lean Hexo theme
高级语言: CSS
项目地址: git://github.com/oif/hexo-theme-zen.git
创建时间: 2019-05-04T10:07:22Z
项目社区:https://github.com/oif/hexo-theme-zen

开源协议:GNU General Public License v3.0

下载


Zen

A lean Hexo theme.

Preview

Installation

Install

  1. git clone https://github.com/oif/hexo-theme-zen.git themes/zen

Dependency

  1. npm install hexo-renderer-less --save
  2. npm install hexo-symbols-count-time --save

Update Theme

  1. cd themes/zen
  2. git pull

Configuration

Highlight.js

To use Highlight.js have to disable Hexo code highlight in _config.yml

  1. highlight:
  2. enable: false
  3. line_number: false
  4. auto_detect: false
  5. tab_replace:

Reading Time

Integrate with Reading Time please add and adjust those config in _config.yml

  1. symbols_count_time:
  2. symbols: true
  3. time: true
  4. total_symbols: true
  5. total_time: true
  6. exclude_codeblock: false
  7. awl: 2
  8. wpm: 200
  9. suffix: mins.

For more details about those parameters see Usage

Nav

To add pages or links in header add some config like below in _config.yml

  1. menu:
  2. about: /about

Theme

Set theme to zen in _config.yml to enable Zen theme

Thanks