-
Notifications
You must be signed in to change notification settings - Fork 16
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
Hexo 平台设置别名不生效 #1231
Comments
[slug].md 哦哦,slug就有别名的意思 |
slug保存在 custom-slug ,这个在 /data/storage/syp/sy-p-plus-cfg.json 里面(为什么存在这里。这是历史设计。暂时不适合调整了。),最终错误是因为github 名称空格不允许空格。
这个逻辑是这样: 他使用会优先调用翻译 api 生成。失败使用拼音。 https://github.com/terwer/zhi/blob/main/libs/zhi-common/src/lib/slugUtil.ts#L120 我看了下问题可能出现在, post.wp_slug 的读取逻辑,先读取 Custom_slug找不到,获取系统别名。这样的话我考虑去掉这个 下版本修复 |
fixed in |
ok,谢谢大佬的耐心回复 |
feat: #1231 support filename.md as hexo md filename
[slug].md修改之后保存会重置
The text was updated successfully, but these errors were encountered: