hexo-theme-think

[在线演示](http://www.lurenx.cn/)


Keywords
hexo, theme
License
MIT
Install
npm install hexo-theme-think@1.0.1

Documentation

在线演示

git地址

码云地址

安装

进入项目根目录

npm i hexo-theme-think

使用

打开根目录的__config.yml文件,将theme字段设为think

theme: think

依赖

hexo-generator-search

配置

代码高亮

先关闭根目录_config.yml文件中,hexo自带的代码高亮

highlight:
  enable: false

再开启主题目录下_config.yml文件中代码高亮

搜索

打开根目录的_config.yml文件,键入下面的代码

search:
  path: search.json
  field: post
  format: html
  limit: 10000
  content: true

打开主题目录的_config.yml,启用搜索

search:
  enable: true