Permalink
Browse files

Ignore directories with valid post names.

Fixes #488.
  • Loading branch information...
1 parent 5fb8014 commit 611cdffefcfd0f5df4b3bd674831e62fcb9e9a35 dunsmoreb committed Feb 1, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/jekyll/site.rb
View
@@ -316,6 +316,7 @@ def filter_entries(entries)
e[-1..-1] == '~' ||
self.exclude.include?(e) ||
File.symlink?(e)
+ File.directory?(e)
end
end
end

0 comments on commit 611cdff

Please sign in to comment.