         date_dirs = moment(payload[@fields.date]).format('Y/MM/DD')
         dir_name += "/#{@paths.root}/#{date_dirs}"
 
-        if @wrap_html
+        if @wrapHTML
           dir_name += "/#{slug_name}"
           base_name = 'index'
         else

  brunchPlugin: yes
  type: 'template'
  extension: 'md'

  paths:
    layouts: 'layouts'

    title: 'title'
    date: 'published'

  wrapHTML: yes
  slugify: yes

  marked:
