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

用 Hexo-Console-Rename 修改文件名 | 桑园巷 #18

Open
roro4ever opened this issue Nov 29, 2019 · 0 comments
Open

用 Hexo-Console-Rename 修改文件名 | 桑园巷 #18

roro4ever opened this issue Nov 29, 2019 · 0 comments

Comments

@roro4ever
Copy link
Owner

https://roro4ever.github.io/2019/11/28/%E7%94%A8-hexo-console-rename-%E4%BF%AE%E6%94%B9%E6%96%87%E4%BB%B6%E5%90%8D/%E7%94%A8-hexo-console-rename-%E4%BF%AE%E6%94%B9%E6%96%87%E4%BB%B6%E5%90%8D/

我们通常使用hexo new [layout] "title" 来新建博文,但常常会在创建博文后对又对原标题 title 不满意,如果仅仅修改内文标题,就会造成 source/_post(假设layout= post) 下的文件名 oldFileName.md 和内文标题 title不一致的情况。 手工的方法是将oldFilename 修改为和 front-matter 中的 title 一致。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant