render_liquid_with_page

in _plugins/site_structure.rb [192:202]


    def render_liquid_with_page(site, page, content, path=nil)
      return content unless page
      if (!path)
        
        this_id = @@unique_path_id+=1
        path = "one-off-path-#{this_id}"
      end
      info = { :filters => [Jekyll::Filters], :registers => { :site => site, :page => page } }
      page.render_liquid(content, site.site_payload, info, path)
    end