lib/jekyll/readers/page_reader.rb in jekyll-3.2.0.pre.beta1 vs lib/jekyll/readers/page_reader.rb in jekyll-3.2.0.pre.beta2
- old
+ new
@@ -12,10 +12,12 @@
#
# dir - The String relative path of the directory to read.
#
# Returns an array of static pages.
def read(files)
- files.map { |page| @unfiltered_content << Page.new(@site, @site.source, @dir, page) }
+ files.map do |page|
+ @unfiltered_content << Page.new(@site, @site.source, @dir, page)
+ end
@unfiltered_content.select { |page| site.publisher.publish?(page) }
end
end
end