-
Notifications
You must be signed in to change notification settings - Fork 564
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
page.prev和page.next获取的值相反 #288
Comments
|
Yep. It caused by hexo 3.2.2 or newer. |
hexojs/hexo#2474 hexojs/hexo#2262 |
@NoahDragon but last night I have tested on hexo 3.3.1, it seems that the issue is still there |
@Halyul you are right, seem the fix is not working. |
@NoahDragon yeap, is to updated the hexo to the latest version 3.3.1, that the issue was happend. |
The issue may cause by the sort fix hexojs/hexo#2262. All the changes have reverted hexojs/hexo#2526 |
I have just updated the hexo to 3.3.5 and found the problem solved. |
I certify that I have first consulted (check all with "x")
我确认我已经查看了 (使用 "x" 选择)
I'm submitting a (check one with "x")
我正在申请 (使用 "x" 选择)
使用本主题后,翻页上一篇下一篇正好相反(按时间排序),即prev为旧的时间节点文章,next为新的时间节点文章了,按照正常习惯是prev为新的时间节点文章,next为旧的时间节点。我暂时是将post-nav.ejs文件下的顺序换过来,但是我看hexo文档是按照正常顺序(page.prev获取上一篇【新】,page.next获取下一篇【旧】)来的没错的,不知道为什么我的会出现相反的现象,还有顺便问一下如何去调试hexo的这些变量,谢谢!
The text was updated successfully, but these errors were encountered: