lib/rack/blogengine/doc_parser.rb in rack-blogengine-0.0.8 vs lib/rack/blogengine/doc_parser.rb in rack-blogengine-0.0.9

- old
+ new

@@ -6,10 +6,10 @@ # @return [Hash] Documents def self.parseInDocuments(target) @target = target documents = [] - layout_file = ::File.open("#{@target}/layout/layout.html", "r") + layout_file = ::File.open("#{@target}/assets/layout/layout.html", "r") @layout = layout_file.read Dir.foreach("#{target}/") do |item| extension = item.split(".")[1] next if item == '.' or item == '..' or extension != "content" \ No newline at end of file