Skip to content

fixed: conflict between local search and algoia search#1453

Merged
iissnan merged 5 commits intoiissnan:masterfrom
Acris:bugfix
Feb 20, 2017
Merged

fixed: conflict between local search and algoia search#1453
iissnan merged 5 commits intoiissnan:masterfrom
Acris:bugfix

Conversation

@Acris
Copy link
Copy Markdown
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
Copy Markdown
Owner

iissnan commented Feb 20, 2017

Thanks. 👍

@Acris Acris deleted the bugfix branch February 20, 2017 08:16
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