Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Posts not in _posts directory #577
Is there any reason posts have to be in the _posts directory? Can the system just match the "9999-99-99-" date pattern and know the file is a post instead?
That would be very helpful in my case as I am working on Smeagol which allows a Gollum wiki to be served up as a regular website. For serving the files as static pages it occurred to me that Jekyll already handles all of that, and I am just reinventing the wheel to do it myself. However with a Gollum wiki, even though one can name a page with prefixed date, they do not get saved separate from other pages. So, as things presently work, I would have to stage the wiki's files sorting them into separate directories. It be so much nicer not to have to do that, if it were possible to teach Jekyll to recognize post files instead.
(P.S. If you are wondering, yes, I have to figure out something about the YAML front matter too.)