lib/jekyll/page.rb in jekyll-3.4.5 vs lib/jekyll/page.rb in jekyll-3.5.0
- old
+ new
@@ -125,10 +125,10 @@
# Add any necessary layouts to this post
#
# layouts - The Hash of {"name" => "layout"}.
# site_payload - The site payload Hash.
#
- # Returns nothing.
+ # Returns String rendered page.
def render(layouts, site_payload)
site_payload["page"] = to_liquid
site_payload["paginator"] = pager.to_liquid
do_layout(site_payload, layouts)