I want to build documentation site using Jekyll and GitHub Pages. The problem is Jekyll only accept a filename under _posts
with exact pattern like YYYY-MM-DD
What I did without "abandoning" the posts (looks like using collections or pages is a better and deeper solution) is a combination of what @igneousaur says in a comment plus using the same date as prefix of file names:
permalink: /:title.html
in _config.yml
(no dates in published URLs).0001-01-01-name.md
for all files in _posts
folder (jekyll is happy about the file names and I'm happy about the sorting of the files).Of course, we can include any "extra information" on the name, maybe some incremental id o anything that help us to organize the files, e.g.: 0001-01-01-001-name.md
.