ppoffice / hexo-theme-icarus

A simple, delicate, and modern theme for the static site generator Hexo.
https://ppoffice.github.io/hexo-theme-icarus/
MIT License
6.4k stars 1.55k forks source link

Busuanzi's display problems #571

Closed Icecream-blue-sky closed 4 years ago

Icecream-blue-sky commented 4 years ago

I set busuanzi like this: footer.ejs <% if (busuanzi) { %>
本站总访问量--次 | 您是第--位小伙伴 <% } %> However,it seems that it only display in article pages(if I get into the specific article,it's normal).When I'm at home、archives、categories or tags page, it disappear(sometimes it only appear for a second...).Does anyone know the reason?Thks a lot! My version: hexo 3.9.0 latest version of icarus My website: https://zoutq.com/

Icecream-blue-sky commented 4 years ago

Oh, I find the problem is caused by live2d...It seems that busuanzi and live2d conflicts with each other.The live2d model makes my 'busuanzi' disappear...

Icecream-blue-sky commented 4 years ago

Today, I find it seems that live2d model also cause other problems.My clicklove.js(effect like https://angericky.github.io/2018/12/24/icarus%E4%B8%AA%E6%80%A7%E5%AE%9A%E5%88%B6/) is out of action though it works well before.And my insight search plugin is invalid too which is nothing happens when I click the button....I don't know if this is a problem or not...Does anyone know the solution since I don't want to uninstall live2d.

Icecream-blue-sky commented 4 years ago

When I use google to debug my blog.Some bug appears: Uncaught SyntaxError: Unexpected end of input in clicklove.js Uncaught SyntaxError: Unexpected token '<' in main.js Uncaught SyntaxError: Unexpected token '<' in insight.js However, I still don't konw how to solve this.

Icecream-blue-sky commented 4 years ago

I set busuanzi like this: footer.ejs <% if (busuanzi) { %>

本站总访问量--次 | 您是第--位小伙伴

<% } %> However,it seems that it only display in article pages(if I get into the specific article,it's normal).When I'm at home、archives、categories or tags page, it disappear(sometimes it only appear for a second...).Does anyone know the reason?Thks a lot! My version: hexo 3.9.0 latest version of icarus My website: https://zoutq.com/

this can be solved by this https://github.com/EYHN/hexo-helper-live2d/issues/150...

Icecream-blue-sky commented 4 years ago

Today I remove the live2d model.But the problem is not solved.It seems some files have been changed even after uninstalling the live2d.And it's the third time that I reconfigure my blog.In the first two time, my insight plugin is also out of action suddenly(not caused by live2d).And the error is also "Uncaught SyntaxError: Unexpected token '<' in insight.js".So I really want to know if someone know what probably causes the error.And the clicklove.js is just a simple script(it's from https://angericky.github.io/2018/12/24/icarus%E4%B8%AA%E6%80%A7%E5%AE%9A%E5%88%B6/ ,however this blog is normal) that I just add a short code.How can the error appear suddenly???I think the reason must not be complicated but I'm not an expert in web....I will feel really disappointed about hexo if I have to reconfigure everything a forth time... Does anyone can propose some possible reasons from a professional perspective?I can provide any files that you want to look over.Ten thousand thanks!!!

Icecream-blue-sky commented 4 years ago

All changes of my blog. https://zoutq.com/2019/12/18/hexo-icarus%E5%8D%9A%E5%AE%A2%E6%9B%B4%E6%94%B9%E8%AE%B0%E5%BD%95/ I guess some operations may be not correct so my problem appear, though I don't konw which one.

Icecream-blue-sky commented 4 years ago

My problem has been solved by this——https://github.com/hexojs/hexo/issues/3989.