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

点击搜索(local search)没反应啊啊啊 #1165

Closed
SanFordy opened this issue Oct 13, 2016 · 13 comments
Closed

点击搜索(local search)没反应啊啊啊 #1165

SanFordy opened this issue Oct 13, 2016 · 13 comments

Comments

@SanFordy
Copy link

SanFordy commented Oct 13, 2016

Expected behavior (预期行为)

Actual behavior (实际行为)

点击没反应啊???

Steps to reproduce the behavior (重现步骤)

NexT Informations

Add the ✔ sign before an item which is affected by this behavior.

NexT Version:

  • Master
  • Latest Release
  • Old version -

NexT Scheme:

  • All schemes
  • Muse
  • Mist
  • Pisces

Other Informations (Like Browser, System, Screenshots)

@SanFordy SanFordy reopened this Oct 13, 2016
@Neveryu
Copy link

Neveryu commented Oct 13, 2016

@SanFordy 没明白你的意思

@flashlab
Copy link
Contributor

刚测试了下,最新版本没有问题

@SanFordy
Copy link
Author

SanFordy commented Oct 13, 2016

@Neveryu http://sanfordy.com 你进我博客点下搜索试试,点了没反应啊啊啊

@SanFordy
Copy link
Author

我都是按照教程走的啊啊

@Neveryu
Copy link

Neveryu commented Oct 13, 2016

@SanFordy 搜索的页面都没有,你玩个锤子啊。
Hexo-NexT搭建个人博客(一)

@flashlab
Copy link
Contributor

确实有可能是xml文件太大,我在想办法通过改进generator限制它的大小,应该很快就能push到npm server

@yun-percy
Copy link

今天也遇到了,我有些文章是html代码嵌到markdown里面,导致了xml无法解析,我把那几篇文章拿掉就可以了……

@flashlab
Copy link
Contributor

@yun-percy 可以给个sample吗?我没有遇到这个问题。

@zhongjun96
Copy link

@flashlab 昨天也遇到了点击搜索框没有反应的问题, 尝试访问zhome.online/search.xml 提示xx行xx列解析错误. 发现markdown文件名带"&"符号就会无法解析 删除"&"符号后就正常使用了

@flashlab
Copy link
Contributor

@zhongjun96 理论上不会出现这种情况,可以给个例子吗?

@zhongjun96
Copy link

zhongjun96 commented Oct 26, 2016

@flashlab 特地复现了这个问题,你可以访问zhome.online/search.xml 查看。markdown文件名带有& 符号就会这样,点击搜索没反应。网站源码在我github上,随时可以查看

@flashlab
Copy link
Contributor

@zhongjun96 解决这个问题有两个地方需要修改,一个见 #1198 ,另一个在theme-next/hexo-generator-search@d8fb161
顺便解决了root没有带前缀导致链接字串重复的问题~

@yusmile
Copy link

yusmile commented Jan 30, 2017

@SanFordy 请问你后来怎么解决的呢?

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

No branches or pull requests

6 participants