Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于站内搜索的建议 #219

Open
23R3F opened this issue Apr 15, 2019 · 0 comments
Open

关于站内搜索的建议 #219

23R3F opened this issue Apr 15, 2019 · 0 comments

Comments

@23R3F
Copy link

23R3F commented Apr 15, 2019

虽然algolia可以进行站内搜索,但仅仅只能搜索文章的标题,不能搜索到内容(我是完全安装你上面的教程来操作的,只能搜索到标题,环境:win10+hexo)
建议希望能够先next一样直接支持站内静态的搜索,就生成xml的那种,非常快速方便,我是从next转过来的,因为觉得archer比较好看,但是唯独搜索功能这里实在不尽人意
next中只需要在root下 config.xml中加
search:
path: /search.xml
field: all
format: html
limit: 10000
然后在主题下的config.xml中加
local_search:
enable: true
trigger: auto
top_n_per_article: 1
就可以了,根本不需要用到第三方,而且第三方很麻烦啊,哪天他改变免费用户的使用范围了不就很麻烦嘛?
希望能改进,越做越好,加油

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants