acrylamid icon indicating copy to clipboard operation
acrylamid copied to clipboard

Fall back to date from file name - before falling back to mtime

Open GSI opened this issue 9 years ago • 0 comments

The convention other generators like Jekyll use is very reasonable: A file named 2016-01-11-some-title.textile will have 2016-01-11 set as it's publishing date.

It saves one yaml entry, which is very useful especially if one names his posts by date anyway (which I do for better sorting when listing the file system).

GSI avatar Jan 12 '16 00:01 GSI