lib/jekyll/layout.rb in jekyll-3.2.0.pre.beta1 vs lib/jekyll/layout.rb in jekyll-3.2.0.pre.beta2

- old
+ new

@@ -56,9 +56,11 @@ # The path to the layout, relative to the site source. # # Returns a String path which represents the relative path # from the site source to this layout def relative_path - @relative_path ||= Pathname.new(path).relative_path_from(Pathname.new(@base_dir)).to_s + @relative_path ||= Pathname.new(path).relative_path_from( + Pathname.new(@base_dir) + ).to_s end end end