lib/plate/site.rb in plate-0.7.3 vs lib/plate/site.rb in plate-0.7.4

- old
+ new

@@ -266,10 +266,10 @@ @assets = [] @pages = [] @partials = [] # Load all pages, static pages and assets from content/ - Dir.glob(File.join(source, "content/**/*")).each do |file| + Dir.glob(File.join(source, "{assets,content}/**/*")).each do |file| # Detect if this is a partial or not partial = File.basename(file).start_with?('_') # If this 'file' is a directory, just skip it. We only care about files. unless File.directory?(file) \ No newline at end of file