Frame now supports local search with the hexo plugin hexo-generator-searchdb. To enable local search, please follow the steps below:
1. Installation
Install the hexo-generator-searchdb plugin under the hexo project file:
1 | $ npm install hexo-generator-searchdb |
2. Hexo Configuration
Go to the hexo configuration file config.yml
, and add the following content:
1 | # Search |
Note: you can go to this documentation to figure out the meaning of each argument above.
3. Theme Configuration
Go to the config.yml
file under the frame
theme folder, and modify the following settings:
1 | # local search |