-
Notifications
You must be signed in to change notification settings - Fork 82
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
Bug 回报:主题配置 → 文章页面:【sticky】对应的数字权重与使用指南不一致 #53
Comments
这个是 JavaScript 为弱类型的问题,"2147483647-1"会被当成一个字符串而非数学表达式来参与运算,进而计算出的结果为 |
经过完整的测试,发现我最初的描述不准确,我的问题描述应该修正为👉使用手册中的[主题配置 → 文章页面:【sticky】对应的数字权重]与所描述的“数字越大优先级越高”不一致,实际效果为[创建时间越晚优先级越高]。 补充说明
编辑了创建时间为【2021-04-10 16:05:24】的数据后(排除了编辑时间的因素;确定了[在置顶文章之中]排序权重只与创建时间有关) |
|
我发现了,一开始我没有描述清楚,是在【分类】和【标签】列表下才出现的问题,主页列表没有问题(有问题的是某一条异常数据,和此 issue 无关)。 很抱歉,麻烦你有空再看看orz 补充
|
是 hexo-generator-tag 和 hexo-generator-category 的问题,我提了两个PR用于跟进。 |
非常感谢!👍❤ |
使用手册中的[主题配置 → 文章页面:【sticky】对应的数字权重]与所描述的“数字越大优先级越高”不一致,实际效果为[数字越大优先级越低]。
复现Bug的方法:
期望的行为:
方案一. 修正使用手册的对应配置项说明。
方案二. 修改代码使配置项【sticky】实现的功能与使用手册的描述一致。
相关的截图:
对应版本
补充说明
影响不大,小问题。
有空就改,没空就摸鱼The text was updated successfully, but these errors were encountered: