Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

文章页上一篇/下一篇按首页顺序排序 #1145

Open
3 tasks done
amakerlife opened this issue Oct 18, 2024 · 0 comments
Open
3 tasks done

文章页上一篇/下一篇按首页顺序排序 #1145

amakerlife opened this issue Oct 18, 2024 · 0 comments
Labels
🐛 bug Unexpected problem or unintended behavior

Comments

@amakerlife
Copy link

amakerlife commented Oct 18, 2024

请确认

  • 是当前最新的 Release 版本
  • 本地 hexo clean && hexo s,并且清除浏览器缓存,仍可复现
  • 已经排除是其他 Hexo 插件影响

Bug 描述

希望上一篇/下一篇遵守 hexo-generator-index 生成的首页排序,而不是始终为按创建时间倒序。

发现 #579 中提到过该问题,并发现这似乎是一个预期外的问题。

复现步骤

修改 order_by-updated,发现上一篇仍为发布时间的上一篇,而不是首页展示的上一篇。如按首页的顺序,该文章上一篇与期望不同。

Upd

  1. 发现该问题比较玄学?该文章只能与下一篇互跳,但显然博客中不只有这两篇文章。如图:imageimage
@amakerlife amakerlife added the 🐛 bug Unexpected problem or unintended behavior label Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

1 participant