def render &block
      raise "Section #{folder_filepath} doesn't exist." unless Dir.exists? folder_filepath

      result = []
      render_assets result if Rails.application.config.assets.compile
      render_partial result, &block
      result.join("\n").html_safe
    end
def render &block
      raise "Section #{folder_filepath} doesn't exist." unless Dir.exists? folder_filepath

      result = []
      render_assets result if Rails.application.config.assets.compile
      render_partial result, &block
      result.join("\n").html_safe
    end
Renders this section, i.e. returns the HTML for this section.