From 5f13e007917f5415319dad3f7d68ad67204da663 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Fri, 26 Apr 2013 21:09:02 +0200 Subject: [PATCH] Comments for Convertible.render_all_layouts and Convertible.render_liquid --- lib/jekyll/convertible.rb | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/lib/jekyll/convertible.rb b/lib/jekyll/convertible.rb index 60d5b9c4..f4b7e8df 100644 --- a/lib/jekyll/convertible.rb +++ b/lib/jekyll/convertible.rb @@ -68,9 +68,9 @@ module Jekyll # Render Liquid in the content # - # content - - # payload - - # info - + # content - the raw Liquid content to render + # payload - the payload for Liquid + # info - the info for Liquid # # Returns the converted content def render_liquid(content, payload, info) @@ -83,6 +83,13 @@ module Jekyll abort("Build Failed") end + # Recursively render layouts + # + # layouts - a list of the layouts + # payload - the payload for Liquid + # info - the info for Liquid + # + # Returns nothing def render_all_layouts(layouts, payload, info) # recursively render layouts layout = layouts[self.data["layout"]]