theme-next / hexo-theme-next

Elegant and powerful theme for Hexo.
https://theme-next.org
Other
8.17k stars 2.05k forks source link

启用pjax导致无法正常加载公益404界面? #1342

Closed suyin-long closed 4 years ago

suyin-long commented 4 years ago

If you delete this template, we may close your issue without conducting an investigation. 如果您删除此模版,我们可能会在不进行调查的情况下关闭您的 Issue。

Please check if your Issue fulfills the following requirements. This will guide you to resolve the issue quickly. 请务必确认您在提交此 Issue 前已经查看并完成了下列检查单中的所有事项。这会指导您快速地解决问题。

Issue Checklist


Expected behavior

点击侧栏的公益404按钮显示对应的404界面

Actual behavior

点击侧栏的公益404按钮,不会正常显示对应的404界面,除非自己手动刷新页面。

Steps to reproduce the behavior

  1. 将网站开启pjax功能 2.点击侧栏“公益404”按钮

Environment Information

Node.js and NPM Information

v12.14.0
6.13.4

Package dependencies Information

+-- hexo@4.2.0
+-- hexo-baidu-url-submit@0.0.6
+-- hexo-deployer-git@2.1.0
+-- hexo-enhancer@1.0.7
+-- hexo-filter-emoji@2.1.0
+-- hexo-generator-archive@1.0.0
+-- hexo-generator-category@1.0.0
+-- hexo-generator-feed@2.2.0
+-- hexo-generator-index@1.0.0
+-- hexo-generator-searchdb@1.2.0
+-- hexo-generator-tag@1.0.0
+-- hexo-helper-live2d@3.1.1
+-- hexo-renderer-ejs@1.0.0
+-- hexo-renderer-marked@2.0.0
+-- hexo-renderer-stylus@1.1.0
+-- hexo-server@1.0.0
+-- hexo-symbols-count-time@0.7.0
+-- live2d-widget-model-hijiki@1.0.5
`-- shelljs@0.8.3

Hexo Configuration

NexT Configuration

pjax: true

Other Information

issue-label-bot[bot] commented 4 years ago

Issue-Label Bot is automatically applying the label Bug to this issue, with a confidence of 0.86. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

stevenjoezhang commented 4 years ago

请手动为script标签加一个pjax属性。