Comments (5)
(今天看见,机房写,杂)
这是所有评论系统的已知问题,可以确认的无一支持 pjax
我也是今天才知道这个大坑
(以下为 gitalk 测试结果)
问题在于在 pjax push 页面的时候已经初始化好的对象里面的页面 id 设置并没有刷新
目前有两个思路:
- 查找 javascript 搞出构造函数重新生成
- 直接改进对象里
Valine 的构造对象机制不一样我目前无法测试
from hexo-theme-arknights.
应该是由于 pajx 引起的缓存问题。
经测试, Ctrl + F5 强制刷新页面后没有问题
要禁用 pajx 可以在 Hexo 目录下 _config.arknights.yml
文件中写:
# pjax 支持
pjax:
enable: false
version: '0.2.8'
from hexo-theme-arknights.
刷新页面确实可以,但是会导致哪一个页面也没有评论
之前看到Valine的Issue有类似的问题,说和next自带的阅读量统计有冲突,将next升级到最新版本用Valine的阅读量就行,但在本主题中未找到相关设置
关闭pjax后可用
from hexo-theme-arknights.
from hexo-theme-arknights.
1.17.0 中已修复
from hexo-theme-arknights.
Related Issues (20)
- 文章打开就报错 HOT 4
- 页面宽度为769~1024px时,右侧搜索框弹出不正确
- Archives页面只展示带选中标签的最新的10篇文章,页面下方留白较多 HOT 1
- 网站生成后路径问题 HOT 3
- 请问如何设置文章封面 HOT 2
- gitalk评论不显示 HOT 2
- 图片与图片之间怎么增加空行 HOT 11
- 怎么为一个文章添加多个标签 HOT 2
- new新文章的时候怎么生成一个文件夹 HOT 1
- 6 HOT 1
- [bug?] 公式渲染 formula rendering HOT 3
- [bug?]多行公式渲染 HOT 1
- 不会生成categories文件夹 HOT 1
- 开启 PAJX 时,切换页面后,不蒜子访问统计数据不显示了 HOT 1
- 备案号怎么添加
- hexo g报错 HOT 2
- 仍然没有代码块折叠 HOT 14
- 关于Wiki HOT 5
- 关于搜索
- hexo生成问题,报错如下 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hexo-theme-arknights.