         rename: (dest, src) =>
           src = if taskConfig.humanReadableUrls.enabled then humanReadableUrl(src) else src
           path.join(dest, src)
-      ]
-
-    return @
-
-
-  @config 'nunjucks', new Task()+      ]
  isoLocale = (locale) ->
    getLangcode(locale) + '_' + getRegioncode(locale).toUpperCase()

  # ====================
  # Construct Grunt Task
  # ====================

  Task = ->
    # Define targets, with unique options and files, for each locale
    locales.forEach (currentLocale) =>
      localeDir     = getLocaleDir(currentLocale)
      localeProps   = getLocaleProps(currentLocale)
      localizedData = taskConfig.data(currentLocale)

      @[currentLocale] = {}

      @[currentLocale].options =
        paths                : taskConfig.nunjucksEnv
        autoescape           : taskConfig.autoescape
        data                 : localizedData


          return data

      files: [
        expand: true
        cwd: taskConfig.files.cwd + '/'
        src: taskConfig.files.src
