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

发布配置中的文件规则无法手动设置 #800

Closed
VxRain opened this issue Oct 13, 2023 · 4 comments
Closed

发布配置中的文件规则无法手动设置 #800

VxRain opened this issue Oct 13, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@VxRain
Copy link

VxRain commented Oct 13, 2023

之前使用挂件版的时候,Hugo 平台中的文件规则可以设置为[filename].md,这样发布到仓库里,文件名就是笔记的名称,比较好识别,方便后续管理。
这两天尝试使用插件版,发现 文件规则 无法设置,并且不单单是 Hugo 平台,切换了好几个平台都是这样。

所以请问这块是还没完成,还是啥情况。

@terwer
Copy link
Owner

terwer commented Oct 13, 2023

我以为没有那种需求,新版设置成了别名,并且不可修改。下版本考虑支持修改。
但是GitHub不支持文件名空格,所以真实文件名可能会出问题。gitlab是支持空格字符的。

@terwer terwer added the enhancement New feature or request label Oct 13, 2023
@terwer terwer transferred this issue from terwer/sy-post-publisher Oct 13, 2023
@VxRain
Copy link
Author

VxRain commented Oct 13, 2023

我以为没有那种需求,新版设置成了别名,并且不可修改。下版本考虑支持修改。
但是GitHub不支持文件名空格,所以真实文件名可能会出问题。gitlab是支持空格字符的。

我记得之前挂件版的逻辑就是如果有空格的话,校验过不去,不让提交,保持这个逻辑就可以。

如果下个版本支持修改的话,就可以抛弃挂件了😂😂😂

@terwer terwer self-assigned this Oct 14, 2023
@terwer
Copy link
Owner

terwer commented Oct 14, 2023

下版本加上。

@terwer
Copy link
Owner

terwer commented Oct 28, 2023

image
已支持,需升级 1.18.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants