Closed Nofated095 closed 2 years ago
确保你在提交Bug反馈之前仔细阅读了Hexo文档,Icarus用户指南,和GitHub issues来了解你的问题是否已经被他人提出过。
Bug描述
Waline 会区分类似于 example.com/example 和 example.com/example/ 这两个相同的网址,会导致评论系统无法正常在 example 这个页面显示。
example.com/example
example.com/example/
example
类似的有 https://blog.nofated.win/friends 和 https://blog.nofated.win/friends/,前者无法显示评论,后者可以,但实际上这两个网页是相同的
系统与环境
Hexo 5.0
Icarus 4.5.0
复现方式 列出复现这个Bug的步骤,如:
期望行为 能使 example.com/example 和 example.com/example/ 都能正常显示评论
我在 waline 在 github 的 仓库上进行了反馈,他们给出了解决方案 https://github.com/walinejs/waline/discussions/748
截图
@Nofated095 严格意义上讲example.com/example和example.com/example/是两个不同的网址,自然其中一个页面的评论不会显示到另一个页面的评论中。如果因为个人需要把两个网址当作同一个网址的话,建议按照FAQ - 挂件/评论插件/分享按钮...的布局文件在哪里?我如何个性化内置的挂件/评论插件/分享按钮...?的方法自行修改waline.jsx。
Bug描述
Waline 会区分类似于
example.com/example
和example.com/example/
这两个相同的网址,会导致评论系统无法正常在example
这个页面显示。类似的有 https://blog.nofated.win/friends 和 https://blog.nofated.win/friends/,前者无法显示评论,后者可以,但实际上这两个网页是相同的
系统与环境
Hexo 5.0
Icarus 4.5.0
复现方式 列出复现这个Bug的步骤,如:
期望行为 能使
example.com/example
和example.com/example/
都能正常显示评论我在 waline 在 github 的 仓库上进行了反馈,他们给出了解决方案 https://github.com/walinejs/waline/discussions/748
截图