Directories with valid post names stop site generation #488

Closed
GrahamDennis opened this Issue Jan 27, 2012 · 1 comment

2 participants

@GrahamDennis

If a subdirectory in a _posts directory is considered to be a valid post name, Jekyll attempts to construct a post from the directory. This stops site generation.

The problem is on line ~162 of site.rb where in read_posts(), it is only checked whether the directory entry is a valid post name. It should also check that the entry corresponds to a file, not a directory.

@ghost Unknown added a commit that referenced this issue Feb 1, 2012
dunsmoreb Ignore directories with valid post names.
Fixes #488.
237c172
@ghost Unknown added a commit that referenced this issue Feb 1, 2012
dunsmoreb Ignore directories with valid post names.
Fixes #488.
611cdff
@parkr
Jekyll member

Merged #875 which fixes this.

@parkr parkr closed this Apr 7, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment