Jekyll发布没有日期的文件名 [英] Jekyll posts filenames without dates
本文介绍了Jekyll发布没有日期的文件名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我不在乎日期,因为我一直都在编辑以前的帖子,所以我想用_posts/something.md
替换_posts/2015-05-05-something.md
.
I don't care about dates because I edit my previous posts all the time, so I would like to replace _posts/2015-05-05-something.md
by _posts/something.md
.
推荐答案
使用页面不需要文件带有日期,例如:_posts/2015-05-05-something.md
变为something.md
.
Using pages doesn't require files to have dates, eg: _posts/2015-05-05-something.md
becomes something.md
.
(答案来自惊人的Github支持)
(The answer came from the amazing Github support)
这篇关于Jekyll发布没有日期的文件名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文