def pupu(name, params = Hash.new)
      comment = if params.empty? then "<!-- Pupu #{name} without params -->"
      else "<!-- Pupu #{name} with params #{params.inspect} -->" end
      [comment, pupu_page.parse(name, params).parse!, "", ""].join("\n")
    end
def pupu(name, params = Hash.new)
      comment = if params.empty? then "<!-- Pupu #{name} without params -->"
      else "<!-- Pupu #{name} with params #{params.inspect} -->" end
      [comment, pupu_page.parse(name, params).parse!, "", ""].join("\n")
    end
Use it in your layout
 Example: pupu :autocompleter, type: "local"