We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Dev
Source Code
当别名生成策略为“根据标题”时:
文章链接会以中文拼音的形式出现,但是如果出现同音字甚至相同标题,(可能)会导致未定义行为。
建议发布文章时检查别名的唯一性,如同上传附件的策略一样,检测到重名则添加几位随机符号。
创建文章《你好》
创建文章《拟好》
访问/ni-hao出现文章《拟好》
/ni-hao
创建文章《你好》,内容为“111”
访问/ni-hao仍然出现文章《拟好》
点击上一篇/下一篇依然是同一篇文章
综上所述,猜测访问具有同名文章的链接是未定义的。
No response
The text was updated successfully, but these errors were encountered:
别名重复的相关问题:#3332
短期内,你可以先设置为其他路由规则,或者手动修改别名,参考:https://docs.halo.run/user-guide/settings#%E4%B8%BB%E9%A2%98%E8%B7%AF%E7%94%B1%E8%AE%BE%E7%BD%AE
/triage duplicate
Sorry, something went wrong.
No branches or pull requests
系统信息
Dev
模式使用的哪种方式运行?
Source Code
发生了什么?
当别名生成策略为“根据标题”时:
文章链接会以中文拼音的形式出现,但是如果出现同音字甚至相同标题,(可能)会导致未定义行为。
建议发布文章时检查别名的唯一性,如同上传附件的策略一样,检测到重名则添加几位随机符号。
复现步骤
创建文章《你好》
创建文章《拟好》
访问
/ni-hao
出现文章《拟好》创建文章《你好》,内容为“111”
访问
/ni-hao
仍然出现文章《拟好》点击上一篇/下一篇依然是同一篇文章
综上所述,猜测访问具有同名文章的链接是未定义的。
相关日志输出
No response
附加信息
No response
The text was updated successfully, but these errors were encountered: