.htaccess is left out when copying static files #377

Closed
wants to merge 1 commit into
from
Jump to file
+1 −1
Split
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)