     title: 'title'
     date: 'published'
 
-  wrap_html: yes
+  wrapHTML: yes
   slugify: yes
 
   marked:

        date_dirs = moment(payload[@fields.date]).format('Y/MM/DD')
        dir_name += "/#{@paths.root}/#{date_dirs}"

        if @wrap_html
          dir_name += "/#{slug_name}"
          base_name = 'index'
        else

      payload.content = @applyTemplate format_layout(dir), payload

    destination = do =>
      base_name = path.basename(file.path, ".#{@extension}")
      dir_name = "#{@paths.public}"
      if payload.path?
        dir_name += "/#{payload.path}"
