       @[currentLocale] = {}
 
       @[currentLocale].options =
-        paths                : taskConfig.path.nunjucksEnv
+        paths                : taskConfig.nunjucksEnv
         autoescape           : taskConfig.autoescape
         data                 : localizedData
         configureEnvironment : (env) ->

  locales       = _.map(taskConfig.i18n.locales, 'locale')
  baseLocale    = taskConfig.i18n.baseLocale

  buildDir      = taskConfig.path.build
  templatesDir  = taskConfig.path.templates

  # =======
  # Helpers

  taskConfig =
    autoescape          : false
    data                : grunt.config('data')
    nunjucksEnv         : grunt.config('path.source.templates')
    files:
      cwd               : grunt.config('path.source.templates') + '/'
      src               : ['{,**/}*.{nj,html}', '!{,**/}_*.{nj,html}']
      dest              : grunt.config('path.build.root') + '/'
      ext               : '.html'
    humanReadableUrls:
      enabled           : true
