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

fixed: conflict between local search and algoia search #1453

Merged
merged 5 commits into from
Feb 20, 2017
Merged

fixed: conflict between local search and algoia search #1453

merged 5 commits into from
Feb 20, 2017

Conversation

Acris
Copy link
Collaborator

@Acris Acris commented Feb 20, 2017


By default, if you installed hexo-generator-search or hexo-generator-searchdb, it will set a default search path (see: https://github.com/flashlab/hexo-generator-search/blob/master/index.js#L12-L14 or https://github.com/PaicHyperionDev/hexo-generator-search/blob/master/index.js#L10-L12), so I added local search config in theme configuration file (see:6d7db9e#diff-aeb42283af8ef8e9da40ededd3ae2ab2R430), and use theme.local_search.enable instead of config.search.path (see: 9b9f9e7) to import local search script.

@iissnan iissnan merged commit 239978d into iissnan:master Feb 20, 2017
@iissnan
Copy link
Owner

iissnan commented Feb 20, 2017

Thanks. 👍

@Acris Acris deleted the bugfix branch February 20, 2017 08:16
habren pushed a commit to habren/hexo-theme-next that referenced this pull request Apr 9, 2017
fixed: conflict between local search and algoia search
Thrimbda pushed a commit to Thrimbda/hexo-theme-next that referenced this pull request Sep 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Algolia搜索popup出来之后没有关闭按钮 使用algoia搜索,第二次点击不弹窗
2 participants