search: path: search.xml field: post format: html limit: 10000 打开 主题配置文件 ,搜索关键字local_search,设置为true
# Local search # Dependencies: https://github.com/flashlab/hexo-generator-search local_search: enable: true # if auto, trigger search by changing input # if manual, trigger search by pressing enter key or search button trigger: auto # show top n results per article, show all results by setting to -1 top_n_per_article: 1
search: path: search.xml field: post format: html limit: 10000 打开 主题配置文件 ,搜索关键字local_search,设置为true
# Local search # Dependencies: https://github.com/flashlab/hexo-generator-search local_search: enable: true # if auto, trigger search by changing input # if manual, trigger search by pressing enter key or search button trigger: auto # show top n results per article, show all results by setting to -1 top_n_per_article: 1