Skip to content

rr210/hexo-generator-search-wx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hexo-generator-search-wx

基于hexo-generator-search, 改动增加文章文件别名, 方便配置小程序接口, 详细配置看hexo-generator-search

小程序项目

Install

$ npm install hexo-generator-search-wx --save

Options

You can configure this plugin in your root _config.yml .

search:
  path: search.xml
  field: post
  content: true
  • path - file path. By default is search.xml . If the file extension is .json, the output format will be JSON. Otherwise XML format file will be exported.
  • field - the search scope you want to search, you can chose:
    • post (Default) - will only covers all the posts of your blog.
    • page - will only covers all the pages of your blog.
    • all - will covers all the posts and pages of your blog.
  • content - whether contains the whole content of each article. If false, the generated results only cover title and other meta info without mainbody. By default is true.

About

基于hexo-generator-search本地搜索,用于微信小程序接口

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published