lib/jekyll/page.rb in jekyll-3.3.1 vs lib/jekyll/page.rb in jekyll-3.4.0

- old
+ new

@@ -56,11 +56,11 @@ Jekyll::Hooks.trigger :pages, :post_init, self end # The generated directory into which the page will be placed # upon generation. This is derived from the permalink or, if - # permalink is absent, we be '/' + # permalink is absent, will be '/' # # Returns the String destination directory. def dir if url.end_with?(FORWARD_SLASH) url @@ -96,20 +96,20 @@ # Returns the String url. def url @url ||= URL.new({ :template => template, :placeholders => url_placeholders, - :permalink => permalink + :permalink => permalink, }).to_s end # Returns a hash of URL placeholder names (as symbols) mapping to the # desired placeholder replacements. For details see "url.rb" def url_placeholders { :path => @dir, :basename => basename, - :output_ext => output_ext + :output_ext => output_ext, } end # Extract information from the page filename. #