Giter Site home page Giter Site logo

点赞回复会回到顶部 about twikoo HOT 8 OPEN

SYuan03 avatar SYuan03 commented on July 19, 2024 2
点赞回复会回到顶部

from twikoo.

Comments (8)

imaegoo avatar imaegoo commented on July 19, 2024

https://github.com/EvanNotFound/hexo-theme-redefine/blob/main/_config.yml#L82-L83

初步判断是和preloader预加载功能冲突造成的,把preloader关掉试试?

from twikoo.

SYuan03 avatar SYuan03 commented on July 19, 2024

https://github.com/EvanNotFound/hexo-theme-redefine/blob/main/_config.yml#L82-L83

初步判断是和preloader预加载功能冲突造成的,把preloader关掉试试?

感谢您的回复,我试了下好像不是preloader的问题,我在在博客主题上提了issue,有位朋友指出了href="#"这个问题

image

我尝试了下F12删掉了href="#"似乎就能解决?但我的代码里不知道该修改哪里?请教!

from twikoo.

imaegoo avatar imaegoo commented on July 19, 2024

href="#" 是写死在 twikoo 里的,是有意义的,没法删掉,这是为了避免回复按钮在某些主题(如VuePress)下被识别为不可点击的链接而加的。

from twikoo.

SYuan03 avatar SYuan03 commented on July 19, 2024

href="#" 是写死在 twikoo 里的,是有意义的,没法删掉,这是为了避免回复按钮在某些主题(如VuePress)下被识别为不可点击的链接而加的。

噢噢,那我可以自己改下js,然后换下src链接这样也许就好了?

image

from twikoo.

imaegoo avatar imaegoo commented on July 19, 2024

噢噢,那我可以自己改下js,然后换下src链接这样也许就好了?

没用的,还在看呢

from twikoo.

imaegoo avatar imaegoo commented on July 19, 2024

image

https://github.com/EvanNotFound/hexo-theme-redefine/blob/b22c1877633f3fdbdb42694b703a572b9ed8d038/_config.yml#L80-L81

把 single_page 改成 false 再试试呢?

from twikoo.

SYuan03 avatar SYuan03 commented on July 19, 2024

image

https://github.com/EvanNotFound/hexo-theme-redefine/blob/b22c1877633f3fdbdb42694b703a572b9ed8d038/_config.yml#L80-L81

把 single_page 改成 false 再试试呢?

Cool! 感谢大佬orz

from twikoo.

SYuan03 avatar SYuan03 commented on July 19, 2024

image

https://github.com/EvanNotFound/hexo-theme-redefine/blob/b22c1877633f3fdbdb42694b703a572b9ed8d038/_config.yml#L80-L81

把 single_page 改成 false 再试试呢?

改了之后目录点击好像会出问题,所以我就自创了个js文件了,以后每次发新版本手动改一改了只能😂

from twikoo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.