jaredly / hexo-admin

An Admin Interface for Hexo
http://jaredly.github.io/hexo-admin/
1.77k stars 299 forks source link

File name could be modified while editing the post #11

Closed mujinjun closed 7 years ago

mujinjun commented 10 years ago

Sometime I wanna give a meaningful name to my new post,which is not like the title of the post.Currently I use the mv cmd to change the post's name in the shell. I know it's not necessary ,but I think it could be perfect with the name-modifying function.

jaredly commented 10 years ago

If you change the filename, the slug also changes (by default), which would break URLs. Of course, this isn't an issue until the first publish... I'm open to a PR that would reconcile the issues, perhaps with a toaster-style notifitcation after you change the title asking "do you want to change the filename too?"

pirtleshell commented 7 years ago

This has been added in https://github.com/jaredly/hexo-admin/pull/105