「工欲善其事,必先利其器」
Mac 窗口管理器
目前使用SizeUp
生活不止眼前的苟且,还有永远读不懂的诗和到不了的远方。
No results found
安装 hexo-generator-searchdb,在你的站点文件夹中,用shell等运行下面这行代码:1$ npm install hexo-generator-searchdb --save
编辑站点配置文件添加以下字段12345search: path: search.xml field: post format: html limit: 10000
编辑主题配置文件启用本地搜索123# Local searchlocal_search: enable: true
注意:因为主题用的不同,可能代码添加位置也不一样,但基本都是在/themes/yourtheme/layout/after_footer.ejs中添加即可
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
|
|
More info: Writing
|
|
More info: Server
|
|
More info: Generating
|
|
More info: Deployment