一步解决hexo博客搭建后的全文搜索功能

2020-04-07  本文已影响0人  KangSmit的算法那些事儿

全文搜索
Hiero使用 Insight Search 帮助你搜索站点内的任何内容,而无需第三方插件。
​复制代码

# Search
search:
    insight: true # you need to install `hexo-generator-json-content` before using Insight Search
    swiftype: # enter swiftype install key here
    baidu: false # you need to disable other search engines to use Baidu search, options: true, false

注意:你需要在使用透视搜索之前安装 hexo-generator-json-content。
复制代码

$ npm install -S hexo-generator-json-content
上一篇 下一篇

猜你喜欢

热点阅读