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

new_post的文件名问题 #19

Closed
pharaohnie opened this issue Dec 26, 2012 · 3 comments
Closed

new_post的文件名问题 #19

pharaohnie opened this issue Dec 26, 2012 · 3 comments

Comments

@pharaohnie
Copy link

在new_post后,文件名就是文章的名字,能否在文章名字前加上日期,要不文章多了找起来很麻烦。

@tommy351
Copy link
Member

tommy351 commented Dec 26, 2012 via email

@pharaohnie
Copy link
Author

blog生成日期吧,总比没日期的好,我现在几百篇日志,如果没文件名,要找一个修改的话只能grep了,超麻烦。

在 2012-12-26,上午10:58,SkyArrow notifications@github.com 写道:

在文件名稱前加上日期容易造成混淆,不知道要以檔名日期為準,還是以檔案內的日期為主

Reply to this email directly or view it on GitHub.

@tommy351
Copy link
Member

0.3.2版會新增new_post_name選項,可在選項中設定檔名格式,預設是:title.md,如果要設為Octopress的格式的話,則是:year-:month-:day-:title.md

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

2 participants