Permalink
Browse files

Tweak glob pattern to include hidden files

  • Loading branch information...
1 parent 72b7b1f commit aee34a57611cce5a4d644fdf4ebbf1d3cb917e0a @agorf agorf committed Aug 1, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/jekyll/site.rb
View
@@ -123,7 +123,7 @@ def read_layouts(dir = '')
# Returns nothing.
def read_directories(dir = '')
base = File.join(self.source, dir)
- entries = Dir.chdir(base) { filter_entries(Dir['*']) }
+ entries = Dir.chdir(base) { filter_entries(Dir['{*,.*}']) }
self.read_posts(dir)

0 comments on commit aee34a5

Please sign in to comment.