Posts not in _posts directory #577

Closed
trans opened this Issue Jun 17, 2012 · 2 comments

Comments

Projects
None yet
3 participants
@trans
Contributor

trans commented Jun 17, 2012

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.)

@trans

This comment has been minimized.

Show comment Hide comment
@trans

trans Jun 17, 2012

Contributor

See #579.

Contributor

trans commented Jun 17, 2012

See #579.

@parkr

This comment has been minimized.

Show comment Hide comment
@parkr

parkr Jun 18, 2012

Member

As I said before, it's Jekyll convention and there is not sufficient reason to change it other than this very specific case.

Member

parkr commented Jun 18, 2012

As I said before, it's Jekyll convention and there is not sufficient reason to change it other than this very specific case.

@trans trans closed this Mar 3, 2013

@jekyllbot jekyllbot locked and limited conversation to collaborators Feb 27, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.